问题描述
- Hadoop2.2.0搭建过程中namenode初始化报错
-
HDFS初始化namenode报错,求大神帮帮忙!!!
FATAL namenode.NameNode: Exception in namenode join
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:2111)
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.(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)
15/04/13 04:15:01 INFO util.ExitUtil: Exiting with status 1
15/04/13 04:15:02 INFO namenode.NameNode: SHUTDOWN_MSG:
解决方案
有说是版本问题,难道要重装一个新的~
解决方案二:
挺急的啊 有没有大神能回答我
解决方案三:
我也遇到这个问题了,请问你现在解决了吗?
时间: 2025-01-19 06:20:35