This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
15/07/25 07:17:37 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Exception in thread "main" java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl cannot be cast to org.w3c.dom.Text
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2448)
at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2337)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2254)
at org.apache.hadoop.conf.Configuration.get(Configuration.java:861)
at org.apache.hadoop.conf.Configuration.getTrimmed(Configuration.java:880)
at org.apache.hadoop.conf.Configuration.getLong(Configuration.java:1153)
at org.apache.hadoop.security.Groups.<init>(Groups.java:77)
at org.apache.hadoop.security.Groups.<init>(Groups.java:66)
at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:280)
at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:257)
at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:234)
at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:749)
at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:734)
at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:607)
at org.apache.hadoop.hdfs.tools.GetConf.run(GetConf.java:314)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at org.apache.hadoop.hdfs.tools.GetConf.main(GetConf.java:331)
Starting namenodes on []
localhost: starting namenode, logging to /home/zhong/hadoop/hadoop-2.5.0-cdh5.2.0/logs/hadoop-zhong-namenode-h1.out
localhost: starting datanode, logging to /home/zhong/hadoop/hadoop-2.5.0-cdh5.2.0/logs/hadoop-zhong-datanode-h1.out
15/07/25 07:17:50 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Exception in thread "main" java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl cannot be cast to org.w3c.dom.Text
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2448)
at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2337)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2254)
at org.apache.hadoop.conf.Configuration.get(Configuration.java:861)
at org.apache.hadoop.conf.Configuration.getTrimmed(Configuration.java:880)
at org.apache.hadoop.conf.Configuration.getLong(Configuration.java:1153)
at org.apache.hadoop.security.Groups.<init>(Groups.java:77)
at org.apache.hadoop.security.Groups.<init>(Groups.java:66)
at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:280)
at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:257)
at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:234)
at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:749)
at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:734)
at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:607)
at org.apache.hadoop.hdfs.tools.GetConf.run(GetConf.java:314)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at org.apache.hadoop.hdfs.tools.GetConf.main(GetConf.java:331)
starting yarn daemons
starting resourcemanager, logging to /home/zhong/hadoop/hadoop-2.5.0-cdh5.2.0/logs/yarn-zhong-resourcemanager-h1.out
localhost: starting nodemanager, logging to /home/zhong/hadoop/hadoop-2.5.0-cdh5.2.0/logs/yarn-zhong-nodemanager-h1.out
|