分享

hadoop 启动的时候报这个错,求救。。

小钟 发表于 2015-7-25 22:37:11 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 1 15157
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

已有(1)人评论

跳转到指定楼层
hyj 发表于 2015-7-26 14:43:54
hadoop 数据类型与java 数据类型转换问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条