FATAL conf.Configuration: error parsing conf file: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.14/07/12 23:51:40 ERROR namenode.NameNode: java.lang.RuntimeException: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence. at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1235) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1099) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1045) at org.apache.hadoop.conf.Configuration.set(Configuration.java:420) at org.apache.hadoop.hdfs.server.namenode.NameNode.setStartupOption(NameNode.java:1320) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1394) at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1419)Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence. at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:684) at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:554) at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1742) at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(XMLEntityScanner.java:1416) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2792) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1148) ... 6 more在Hadoop namenode -format出现这个异常时一般是由于Hadoop conf目录下面的几个配置文件的编码进行查看,看是否有不正常的编码,以及错误的代码,统一拷贝更改。
详细解决方案
hadoop 出现FATAL conf.Configuration: error parsing conf file,错误
热度:526 发布时间:2016-04-29 02:22:40.0
相关解决方案
- java报错Syntax error on token "return" invalid Type解决方案
- The server encountered an internal error () that prevented it from fulfilling th解决方案
- struts2的Action怎么返回指定路径的jsp或html,而不是返回SUCCESS、ERROR
- 'Update Progress' has encountered a problem An internal error has occurred解决方案
- JSP向SQL数据库中写下数据时提示:Network error IOException: Connection refused: connect
- struts2.3.4.1启动抛错误 Unable to load configuration
- Error creating bean with name 'sessionFactory' defined in ServletContext resourc解决方法
- IE8怎么让input file 的地址框可编辑
- servlet+jquery1.4.2(ajax error?)解决方案
- Parse error in application web.xml,该如何解决
- java itext导出报Connection reset by peer: socket write error,该怎么处理
- Error reading resource: com/user/User.hbm.xml,该怎么解决
- File "/head.jsp" not found解决方法
- tomcat报错: File "/js_list.jsp" not found,该怎么解决
- fatal error; call to a member function query() on a non-object异常求回答啊 php+sqlite
- Error creating bean with name 'sessionFactory' defined in class path resource解决方法
- 大家帮帮忙呀The server encountered an internal error () that prevented it解决方法
- 【100分】怎么监控多台服务器的log,alert,error
- SOS-(奇怪现象)服务器暂不可用500 internal server error,该怎么解决
- 关于在struts2中怎么将.action加入到web.xml中的<welcome-file-list>上 急
- tomcat没法运行Could not publish to the server. Error while expanding
- 新手请问:Could not parse configuration: /hibernate.cfg.xml
- JSF中javax.faces.el.PropertyNotFoundException: Error getting property的有关问题
- !hadoop 0.21.0 eclipse 3.7 win7,点击run on hadoop报错
- Syntax error on token "{" { expected after this token,该怎么解决
- WEBstruts The server encountered an internal error () that prevented it fr解决思路
- 'Update Progress' has encountered a problem An internal error has occurred解决方案
- object error!
- 关于<welcome-file-list>的疑问。初学者郁闷哦
- ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error,该如何解决