Hi,
Recently migrated to hadoop-0.20.0 and I am facing
https://issues.apache.org/jira/browse/HADOOP-5254
Failed to set setXIncludeAware(true) for parser
org.apache.xerces.jaxp.documentbuilderfactoryi...@1e9e5c73: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:1053)
So I tried including xml-apis-1.3.04.jar:xerces-2_9_1/xercesImpl.jar in hadoop
classpath. But it started throwing another exception
09/06/23 05:53:02 FATAL conf.Configuration: error parsing conf file:
javax.xml.parsers.ParserConfigurationException: Feature
'http://apache.org/xml/features/xinclude' is not recognized.
Exception in thread "main" 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:1170)
The former one was caught and WARN msg was logged by Configuration.java but
later is uncaught and fails.
What is the correct jar files / versions that should be included to avoid this?
Thanks,
Murali