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

Shevek commented on HADOOP-5254:
--------------------------------

I hit this issue this week, and having waded through 350Mb of logfiles and this 
amongst other tickets, I wrote this library to help diagnose this class of 
issue:

https://github.com/shevek/jdiagnostics

The 350Mb is because Hadoop logs the stack trace to the 
ParserConfigurationException every time it passes that code path, which is 
sufficiently painful and impactful on performance that I've modified my local 
copy to fast-fail, and then I diagnose it.

Hope it's useful.

The ant -diagnostics thing is a red herring, because while ant looks in 
/usr/share/java, Hadoop doesn't.

> 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 was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to