You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "fodil (JIRA)" <ji...@apache.org> on 2011/08/04 12:43:27 UTC
[jira] [Commented] (HADOOP-5254) Xinclude setup results in a stack
trace
[ https://issues.apache.org/jira/browse/HADOOP-5254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079319#comment-13079319 ]
fodil commented on HADOOP-5254:
-------------------------------
I have the same problem. adding the Putting xerces-2.9.1 and xml-apis-1.3.04 on the classpath did not resolve the problem.
Here is the point of failure in the stack.
Aug 4, 2011 6:34:32 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)
When you say to run the JVM with "-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"
Would tell me where can I specify this statement in order to force the JVM to use it?
Thanks for your help
> Xinclude setup results in a stack trace
> ---------------------------------------
>
> Key: HADOOP-5254
> URL: https://issues.apache.org/jira/browse/HADOOP-5254
> Project: Hadoop Common
> Issue Type: Bug
> Components: conf
> Affects Versions: 0.20.0, 0.21.0
> Environment: java version "1.6.0_02"
> Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
> BEA JRockit(R) (build R27.4.0-90-89592-1.6.0_02-20070928-1715-linux-x86_64, compiled mode)
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Attachments: hadoop-5254.patch
>
>
> seen this in SVN_HEAD, and it was mentioned on the user list in the week. It explains why my health tests are failing on class.ForName(FSConstants)
> gistration(127.0.0.1:8024, storageID=DS-1466307248-127.0.1.1-8024-1234537374021, infoPort=8022, ipcPort=50020):DataXceiver
> [sf-startdaemon-debug] java.lang.ExceptionInInitializerError
> [sf-startdaemon-debug] at org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:76)
> [sf-startdaemon-debug] at java.lang.Thread.run(Thread.java:619)
> [sf-startdaemon-debug] Caused by: java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
> [sf-startdaemon-debug] at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira