14/07/10 18:50:47 FATAL conf.Configuration: error parsing conf file: com.sun.org .apache.xerces.internal.impl.io.MalformedByteSequenceException:
1 ???? UTF-8 ???е ???? 1 ??Ч??
14/07/10 18:50:47 ERROR namenode.NameNode: java.lang.RuntimeException: com.sun.o rg.apache.xerces.internal.impl.io.MalformedByteSequenceException:
1 ???? UTF-8 ?? ?е???? 1 ??Ч??
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java: 1243)
at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java :1107)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1053 )
at org.apache.hadoop.conf.Configuration.set(Configuration.java:420)
at org.apache.hadoop.hdfs.server.namenode.NameNode.setStartupOption(Name Node.java:1374)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNo de.java:1463)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:14 88)
Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceExcep tion: 1 ???? UTF-8 ???е???? 1 ??Ч??
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF 8Reader.java:687)
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader .java:557)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEnti tyScanner.java:1750)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanContent( XMLEntityScanner.java:923)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp l$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2748)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X MLDocumentScannerImpl.java:607)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next (XMLNSDocumentScannerImpl.java:116)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp l.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X ML11Configuration.java:835)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X ML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser. java:123)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser. java:240)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Doc umentBuilderImpl.java:300)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177)
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java: 1156)
... 6 more
出现这样的问题的主要原因是由于配置文件出现了多余的配置项,或者出现因中国,见官hadoop构造。
版权声明:本文博主原创文章,博客,未经同意不得转载。