Taiwan Hadoop Forum

台灣 Hadoop 技術討論區
現在的時間是 2018-12-13, 03:49

所有顯示的時間為 UTC + 8 小時




發表新文章 回覆主題  [ 3 篇文章 ] 
發表人 內容
 文章主題 : [求助]Hadoop 2.2.0 format NameNode失敗
文章發表於 : 2013-10-31, 17:50 
離線

註冊時間: 2013-10-07, 09:32
文章: 1
各位前輩:小弟初次玩Hadoop 2.2.0,在格式化namenode的時候遇到不知如何解的問題,還請不吝給予線索!謝謝各位!
Hadoop: hadoop-2.2.0.tar.gz(donwloaded from Apache.org)
mode: Pseudo-distributed
JAVA: JDK 1.7 update 45
OS: Ubuntu 12.04 amd64
HADOOP_HOME=/opt/hadoop

當我執行hdfs namenode -format之後出現:
代碼:
13/10/31 17:33:06 INFO namenode.NameNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG:   host = maxdoop2/10.62.38.231
STARTUP_MSG:   args = [-format]
STARTUP_MSG:   version = 2.2.0
STARTUP_MSG:   classpath = /opt/hadoop/etc/hadoop://opt/hadoop/share/hadoop/common/lib/snappy-java-1.0.4.1.jar://opt/hadoop/share/hadoop/common/lib/jsp-api-2.1.jar://opt/hadoop/share/hadoop/common/lib/jersey-core-1.9.jar://opt/hadoop/share/hadoop/common/lib/commons-beanutils-core-1.8.0.jar://opt/hadoop/share/hadoop/common/lib/jetty-6.1.26.jar://opt/hadoop/share/hadoop/common/lib/xz-1.0.jar://opt/hadoop/share/hadoop/common/lib/commons-beanutils-1.7.0.jar://opt/hadoop/share/hadoop/common/lib/commons-configuration-1.6.jar://opt/hadoop/share/hadoop/common/lib/jackson-core-asl-1.8.8.jar://opt/hadoop/share/hadoop/common/lib/slf4j-api-1.7.5.jar://opt/hadoop/share/hadoop/common/lib/commons-net-3.1.jar://opt/hadoop/share/hadoop/common/lib/commons-lang-2.5.jar://opt/hadoop/share/hadoop/common/lib/commons-httpclient-3.1.jar://opt/hadoop/share/hadoop/common/lib/commons-el-1.0.jar://opt/hadoop/share/hadoop/common/lib/jaxb-impl-2.2.3-1.jar://opt/hadoop/share/hadoop/common/lib/avro-1.7.4.jar://opt/hadoop/share/hadoop/common/lib/junit-4.8.2.jar://opt/hadoop/share/hadoop/common/lib/zookeeper-3.4.5.jar://opt/hadoop/share/hadoop/common/lib/hadoop-annotations-2.2.0.jar://opt/hadoop/share/hadoop/common/lib/jackson-jaxrs-1.8.8.jar://opt/hadoop/share/hadoop/common/lib/jackson-mapper-asl-1.8.8.jar://opt/hadoop/share/hadoop/common/lib/log4j-1.2.17.jar://opt/hadoop/share/hadoop/common/lib/xmlenc-0.52.jar://opt/hadoop/share/hadoop/common/lib/commons-io-2.1.jar://opt/hadoop/share/hadoop/common/lib/paranamer-2.3.jar://opt/hadoop/share/hadoop/common/lib/hadoop-auth-2.2.0.jar://opt/hadoop/share/hadoop/common/lib/commons-compress-1.4.1.jar://opt/hadoop/share/hadoop/common/lib/jsr305-1.3.9.jar://opt/hadoop/share/hadoop/common/lib/activation-1.1.jar://opt/hadoop/share/hadoop/common/lib/protobuf-java-2.5.0.jar://opt/hadoop/share/hadoop/common/lib/commons-collections-3.2.1.jar://opt/hadoop/share/hadoop/common/lib/jersey-server-1.9.jar://opt/hadoop/share/hadoop/common/lib/commons-logging-1.1.1.jar://opt/hadoop/share/hadoop/common/lib/commons-digester-1.8.jar://opt/hadoop/share/hadoop/common/lib/commons-codec-1.4.jar://opt/hadoop/share/hadoop/common/lib/guava-11.0.2.jar://opt/hadoop/share/hadoop/common/lib/stax-api-1.0.1.jar://opt/hadoop/share/hadoop/common/lib/jackson-xc-1.8.8.jar://opt/hadoop/share/hadoop/common/lib/jasper-runtime-5.5.23.jar://opt/hadoop/share/hadoop/common/lib/servlet-api-2.5.jar://opt/hadoop/share/hadoop/common/lib/jets3t-0.6.1.jar://opt/hadoop/share/hadoop/common/lib/netty-3.6.2.Final.jar://opt/hadoop/share/hadoop/common/lib/jasper-compiler-5.5.23.jar://opt/hadoop/share/hadoop/common/lib/commons-math-2.1.jar://opt/hadoop/share/hadoop/common/lib/jersey-json-1.9.jar://opt/hadoop/share/hadoop/common/lib/commons-cli-1.2.jar://opt/hadoop/share/hadoop/common/lib/mockito-all-1.8.5.jar://opt/hadoop/share/hadoop/common/lib/jsch-0.1.42.jar://opt/hadoop/share/hadoop/common/lib/asm-3.2.jar://opt/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar://opt/hadoop/share/hadoop/common/lib/jetty-util-6.1.26.jar://opt/hadoop/share/hadoop/common/lib/jettison-1.1.jar://opt/hadoop/share/hadoop/common/lib/jaxb-api-2.2.2.jar://opt/hadoop/share/hadoop/common/hadoop-common-2.2.0.jar://opt/hadoop/share/hadoop/common/hadoop-common-2.2.0-tests.jar://opt/hadoop/share/hadoop/common/hadoop-nfs-2.2.0.jar:/opt/hadoop/share/hadoop/hdfs:/opt/hadoop/share/hadoop/hdfs/lib/jsp-api-2.1.jar:/opt/hadoop/share/hadoop/hdfs/lib/jersey-core-1.9.jar:/opt/hadoop/share/hadoop/hdfs/lib/jetty-6.1.26.jar:/opt/hadoop/share/hadoop/hdfs/lib/jackson-core-asl-1.8.8.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-daemon-1.0.13.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-lang-2.5.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-el-1.0.jar:/opt/hadoop/share/hadoop/hdfs/lib/jackson-mapper-asl-1.8.8.jar:/opt/hadoop/share/hadoop/hdfs/lib/log4j-1.2.17.jar:/opt/hadoop/share/hadoop/hdfs/lib/xmlenc-0.52.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-io-2.1.jar:/opt/hadoop/share/hadoop/hdfs/lib/jsr305-1.3.9.jar:/opt/hadoop/share/hadoop/hdfs/lib/protobuf-java-2.5.0.jar:/opt/hadoop/share/hadoop/hdfs/lib/jersey-server-1.9.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-logging-1.1.1.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-codec-1.4.jar:/opt/hadoop/share/hadoop/hdfs/lib/guava-11.0.2.jar:/opt/hadoop/share/hadoop/hdfs/lib/jasper-runtime-5.5.23.jar:/opt/hadoop/share/hadoop/hdfs/lib/servlet-api-2.5.jar:/opt/hadoop/share/hadoop/hdfs/lib/netty-3.6.2.Final.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-cli-1.2.jar:/opt/hadoop/share/hadoop/hdfs/lib/asm-3.2.jar:/opt/hadoop/share/hadoop/hdfs/lib/jetty-util-6.1.26.jar:/opt/hadoop/share/hadoop/hdfs/hadoop-hdfs-nfs-2.2.0.jar:/opt/hadoop/share/hadoop/hdfs/hadoop-hdfs-2.2.0.jar:/opt/hadoop/share/hadoop/hdfs/hadoop-hdfs-2.2.0-tests.jar:/opt/hadoop/share/hadoop/yarn/lib/snappy-java-1.0.4.1.jar:/opt/hadoop/share/hadoop/yarn/lib/jersey-core-1.9.jar:/opt/hadoop/share/hadoop/yarn/lib/xz-1.0.jar:/opt/hadoop/share/hadoop/yarn/lib/jackson-core-asl-1.8.8.jar:/opt/hadoop/share/hadoop/yarn/lib/avro-1.7.4.jar:/opt/hadoop/share/hadoop/yarn/lib/hadoop-annotations-2.2.0.jar:/opt/hadoop/share/hadoop/yarn/lib/jackson-mapper-asl-1.8.8.jar:/opt/hadoop/share/hadoop/yarn/lib/log4j-1.2.17.jar:/opt/hadoop/share/hadoop/yarn/lib/commons-io-2.1.jar:/opt/hadoop/share/hadoop/yarn/lib/paranamer-2.3.jar:/opt/hadoop/share/hadoop/yarn/lib/hamcrest-core-1.1.jar:/opt/hadoop/share/hadoop/yarn/lib/commons-compress-1.4.1.jar:/opt/hadoop/share/hadoop/yarn/lib/protobuf-java-2.5.0.jar:/opt/hadoop/share/hadoop/yarn/lib/jersey-server-1.9.jar:/opt/hadoop/share/hadoop/yarn/lib/javax.inject-1.jar:/opt/hadoop/share/hadoop/yarn/lib/guice-3.0.jar:/opt/hadoop/share/hadoop/yarn/lib/jersey-guice-1.9.jar:/opt/hadoop/share/hadoop/yarn/lib/junit-4.10.jar:/opt/hadoop/share/hadoop/yarn/lib/netty-3.6.2.Final.jar:/opt/hadoop/share/hadoop/yarn/lib/guice-servlet-3.0.jar:/opt/hadoop/share/hadoop/yarn/lib/asm-3.2.jar:/opt/hadoop/share/hadoop/yarn/lib/aopalliance-1.0.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.2.0.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-common-2.2.0.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.2.0.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-client-2.2.0.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.2.0.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-api-2.2.0.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.2.0.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-site-2.2.0.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-tests-2.2.0.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.2.0.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-common-2.2.0.jar:/opt/hadoop/share/hadoop/mapreduce/lib/snappy-java-1.0.4.1.jar:/opt/hadoop/share/hadoop/mapreduce/lib/jersey-core-1.9.jar:/opt/hadoop/share/hadoop/mapreduce/lib/xz-1.0.jar:/opt/hadoop/share/hadoop/mapreduce/lib/jackson-core-asl-1.8.8.jar:/opt/hadoop/share/hadoop/mapreduce/lib/avro-1.7.4.jar:/opt/hadoop/share/hadoop/mapreduce/lib/hadoop-annotations-2.2.0.jar:/opt/hadoop/share/hadoop/mapreduce/lib/jackson-mapper-asl-1.8.8.jar:/opt/hadoop/share/hadoop/mapreduce/lib/log4j-1.2.17.jar:/opt/hadoop/share/hadoop/mapreduce/lib/commons-io-2.1.jar:/opt/hadoop/share/hadoop/mapreduce/lib/paranamer-2.3.jar:/opt/hadoop/share/hadoop/mapreduce/lib/hamcrest-core-1.1.jar:/opt/hadoop/share/hadoop/mapreduce/lib/commons-compress-1.4.1.jar:/opt/hadoop/share/hadoop/mapreduce/lib/protobuf-java-2.5.0.jar:/opt/hadoop/share/hadoop/mapreduce/lib/jersey-server-1.9.jar:/opt/hadoop/share/hadoop/mapreduce/lib/javax.inject-1.jar:/opt/hadoop/share/hadoop/mapreduce/lib/guice-3.0.jar:/opt/hadoop/share/hadoop/mapreduce/lib/jersey-guice-1.9.jar:/opt/hadoop/share/hadoop/mapreduce/lib/junit-4.10.jar:/opt/hadoop/share/hadoop/mapreduce/lib/netty-3.6.2.Final.jar:/opt/hadoop/share/hadoop/mapreduce/lib/guice-servlet-3.0.jar:/opt/hadoop/share/hadoop/mapreduce/lib/asm-3.2.jar:/opt/hadoop/share/hadoop/mapreduce/lib/aopalliance-1.0.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-shuffle-2.2.0.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.2.0.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.2.0-tests.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.2.0.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.2.0.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-plugins-2.2.0.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-app-2.2.0.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-2.2.0.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-common-2.2.0.jar:/opt/hadoop/contrib/capacity-scheduler/*.jar
STARTUP_MSG:   build = https://svn.apache.org/repos/asf/hadoop/common -r 1529768; compiled by 'hortonmu' on 2013-10-07T06:28Z
STARTUP_MSG:   java = 1.7.0_45
************************************************************/
13/10/31 17:33:06 INFO namenode.NameNode: registered UNIX signal handlers for [TERM, HUP, INT]
13/10/31 17:33:06 FATAL namenode.NameNode: Exception in namenode join
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
   at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:131)
   at org.apache.hadoop.security.Groups.<init>(Groups.java:55)
   at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:182)
   at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:235)
   at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214)
   at org.apache.hadoop.security.UserGroupInformation.isAuthenticationMethodEnabled(UserGroupInformation.java:275)
   at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:269)
   at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:807)
   at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1213)
   at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1320)
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:129)
   ... 9 more
Caused by: java.lang.UnsatisfiedLinkError: org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative()V
   at org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative(Native Method)
   at org.apache.hadoop.security.JniBasedUnixGroupsMapping.<clinit>(JniBasedUnixGroupsMapping.java:49)
   at org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback.<init>(JniBasedUnixGroupsMappingWithFallback.java:38)
   ... 14 more
13/10/31 17:33:06 INFO util.ExitUtil: Exiting with status 1
13/10/31 17:33:06 INFO namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at maxdoop2/10.62.38.231
************************************************************/

我注意到錯誤訊息FATAL namenode.NameNode: Exception in namenode join
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
,但是google了許久就是沒有真的與我相同的情況....
由於牽涉的設定檔很多,我僅先列出我自定義的$HADOOP_HOME/libexec/hadoop-layout.sh:
代碼:
#############################################
### hadoop global/common configurations   ###
#############################################
export HADOOP_HOME="/opt/hadoop"
export HADOOP_PREFIX="$HADOOP_HOME"
export HADOOP_COMMON_DIR="$HADOOP_HOME/share/hadoop/common"
export HADOOP_COMMON_LIB_JARS_DIR="$HADOOP_HOME/share/hadoop/common/lib"
export HADOOP_COMMON_LIB_NATIVE_DIR="$HADOOP_HOME/lib/native"
export HADOOP_CONF_DIR="$HADOOP_HOME/etc/hadoop"
export HADOOP_LIBEXEC_DIR="$HADOOP_HOME/libexec"

#############################################
### hadoop HDFS configurations            ###
#############################################
export HADOOP_HDFS_HOME="$HADOOP_PREFIX"
export HDFS_DIR="share/hadoop/hdfs"
export HDFS_LIB_JARS_DIR="$HDFS_DIR/lib"
export HADOOP_PID_DIR="$HADOOP_HOME/var/run/hadoop-hdfs"
export HADOOP_LOG_DIR="$HADOOP_HOME/var/log/hadoop-hdfs"

#############################################
### hadoop YARN configurations            ###
#############################################
export HADOOP_YARN_HOME="$HADOOP_PREFIX"
export YARN_DIR="share/hadoop/yarn"
export YARN_LIB_JARS_DIR="$YARN_DIR/lib"
export YARN_PID_DIR="$HADOOP_HOME/var/run/hadoop-yarn"
export YARN_LOG_DIR="$HADOOP_HOME/var/log/hadoop-yarn"

#############################################
### hadoop MAPRED configurations          ###
#############################################
export HADOOP_MAPRED_HOME="$HADOOP_PREFIX"
export MAPRED_DIR="share/hadoop/mapreduce"
export MAPRED_LIB_JARS_DIR="$MAPRED_DIR/lib"
export HADOOP_MAPRED_PID_DIR="$HADOOP_HOME/var/run/hadoop-mapreduce"
export HADOOP_MAPRED_LOG_DIR="$HADOOP_HOME/var/log/hadoop-mapreduce"


謝謝各位前輩的時間,如果需要看其他的設定檔,小弟再馬上附上,謝謝前輩們!


回頂端
 個人資料 E-mail  
 
 文章主題 : Re: [求助]Hadoop 2.2.0 format NameNode失敗
文章發表於 : 2013-11-12, 22:00 
離線

註冊時間: 2013-11-12, 18:38
文章: 3
感觉是linux目录授权的原因,你把环境描述一下。包括几个重要配置文件,core-site.xml,hdfs-site.xml,hadoop-env.sh,yarn-site.xml等


回頂端
 個人資料 E-mail  
 
 文章主題 : Re: [求助]Hadoop 2.2.0 format NameNode失敗
文章發表於 : 2013-11-14, 22:51 
離線

註冊時間: 2011-11-11, 23:41
文章: 79
我目前參考此篇架設, http://lookqlp.iteye.com/blog/1962332
一樣在 hadoop namenode -format 時失敗
正努力解決中,若有前輩架設成功的, 感謝不吝賜教


WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
[Fatal Error] mapred-site.xml:23:2: The markup in the document following the root element must be well-formed.
13/11/14 22:01:14 FATAL conf.Configuration: error parsing conf mapred-site.xml

org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:153)
at org.apache.hadoop.conf.Configuration.parse(Configuration.java:1989)
at org.apache.hadoop.conf.Configuration.parse(Configuration.java:1977)
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2048)
at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2001)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1918)
at org.apache.hadoop.conf.Configuration.get(Configuration.java:721)
at org.apache.hadoop.conf.Configuration.getTrimmed(Configuration.java:740)
at org.apache.hadoop.conf.Configuration.getLong(Configuration.java:965)
at org.apache.hadoop.security.Groups.<init>(Groups.java:62)
at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:182)
at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:235)
at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214)
at org.apache.hadoop.security.UserGroupInformation.isAuthenticationMethodEnabled(UserGroupInformation.java:275)
at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:269)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:807)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1213)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1320)
13/11/14 22:01:14 FATAL namenode.NameNode: Exception in namenode join
java.lang.RuntimeException: org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2152)
at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2001)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1918)
at org.apache.hadoop.conf.Configuration.get(Configuration.java:721)
at org.apache.hadoop.conf.Configuration.getTrimmed(Configuration.java:740)
at org.apache.hadoop.conf.Configuration.getLong(Configuration.java:965)
at org.apache.hadoop.security.Groups.<init>(Groups.java:62)
at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:182)
at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:235)
at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214)
at org.apache.hadoop.security.UserGroupInformation.isAuthenticationMethodEnabled(UserGroupInformation.java:275)
at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:269)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:807)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1213)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1320)
Caused by: org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:153)
at org.apache.hadoop.conf.Configuration.parse(Configuration.java:1989)
at org.apache.hadoop.conf.Configuration.parse(Configuration.java:1977)
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2048)
... 14 more
13/11/14 22:01:14 INFO util.ExitUtil: Exiting with status 1
13/11/14 22:01:14 INFO namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at HA/192.168.2.103
************************************************************/


回頂端
 個人資料 E-mail  
 
顯示文章 :  排序  
發表新文章 回覆主題  [ 3 篇文章 ] 

所有顯示的時間為 UTC + 8 小時


誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 2 位訪客


不能 在這個版面發表主題
不能 在這個版面回覆主題
不能 在這個版面編輯您的文章
不能 在這個版面刪除您的文章
不能 在這個版面上傳附加檔案

搜尋:
前往 :  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
正體中文語系由 竹貓星球 維護製作