hadoop :java.lang.UnsupportedOperationException: This parser does not support..
昨天,集群hadoop cluster跑刚刚做好的代码没有问题,而本机调试的时候出现下面的Exception:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@1a42792:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null" at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1054) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1030) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:980) at org.apache.hadoop.conf.Configuration.set(Configuration.java:405) at org.apache.hadoop.hdfs.server.namenode.NameNode.setStartupOption(NameNode.java:927) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:944) at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:965)