hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ranjini (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-5664) java.lang.RuntimeException: javax.xml.parsers.ParserConfigurationException:
Date Wed, 04 Dec 2013 04:40:36 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-5664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

ranjini updated MAPREDUCE-5664:
-------------------------------

    Description: 


Hi,

I am using hadoop 0.21 vesrsion and java 1.6. 















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

  was:
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


> 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,
> I am using hadoop 0.21 vesrsion and java 1.6. 
> 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)

Mime
View raw message