Feature 'http://apache.org/xml/features/xinclude' is not recognized error in Hadoop 0.20.2 ------------------------------------------------------------------------------------------
Key: HADOOP-7462 URL: https://issues.apache.org/jira/browse/HADOOP-7462 Project: Hadoop Common Issue Type: Bug Components: build Affects Versions: 0.20.2 Environment: Ubunto Linux Java 1.6.0_24 Reporter: fodil I have build a library to manipulate Hbase tables and am calling these methods inside a complexe java project. I am using the compiled version of Hadoop 0.20.2 and hbase 0.90.3. My project compiled without any problem, during the execution amd having the error to xInclude feature is not recognized. I have found suggestion to put a patch in configuration.java, but the issue am using the compiled version of hadoop. below is the stack of the error. thanks for your help Jul 15, 2011 10:10:11 AM org.apache.hadoop.conf.Configuration loadResource SEVERE: error parsing conf file: javax.xml.parsers.ParserConfigurationException: Feature 'http://apache.org/xml/features/xinclude' is not recognized. java.lang.RuntimeException: javax.xml.parsers.ParserConfigurationException: Feature 'http://apache.org/xml/features/xinclude' is not recognized. at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1171) 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.get(Configuration.java:382) at org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:63) at org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:89) at org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:100) at org.b3mn.poem.Hbase_hadoop_data_access_methods.addRow(Hbase_hadoop_data_access_methods.java:46) at org.b3mn.poem.Representation.contentExists(Representation.java:108) at org.b3mn.poem.Representation.setSvg(Representation.java:239) at org.b3mn.poem.Identity.newModel(Identity.java:92) at org.b3mn.poem.handler.NewModelHandler.doPost(NewModelHandler.java:129) at org.b3mn.poem.Dispatcher.dispatch(Dispatcher.java:376) at org.b3mn.poem.Dispatcher.doPost(Dispatcher.java:409) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.b3mn.poem.security.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:156) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: javax.xml.parsers.ParserConfigurationException: Feature 'http://apache.org/xml/features/xinclude' is not recognized. at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1061) ... 30 more -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira