[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13838002#comment-13838002
 ] 

Steve Loughran commented on MAPREDUCE-5664:
-------------------------------------------

Looks like HADOOP-5254 and HADOOP-7462 has surfaced. Your classpath has an out 
of date XML parser on it, and this is being picked up in preference to the 
version of Xerces bundled with Java6 and Java7/

#1 as Jonathan says, can you specify which version of Hadoop this is arising 
on. If it is not Hadoop 1.2 or Hadoop 2.2, it's not going to be treated as a 
bug, as these contain what should be fixes for this problem.


HADOOP-5254 includes details on how to go about tracking the underlying issue, 
which is very much a configuration problem

> java.lang.RuntimeException: javax.xml.parsers.ParserConfigurationException:
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5664
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5664
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: ranjini
>
> Hi,
> When processing xml file as input via map reduce, the error occurred is 
> 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: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.util.RunJar.main(RunJar.java:109)
> 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)
>       ... 4 more
> Please help to fix the issue



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to