hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5254) Xinclude setup results in a stack trace
Date Fri, 13 Feb 2009 15:17:59 GMT

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

Steve Loughran commented on HADOOP-5254:
----------------------------------------

the root cause is in the stack trace, the base class impl of setXIncludeAware() is (and this
is sun code, so no cut and paste in apache):-

{code}
    public void setXIncludeAware(final boolean state) {
        throw new UnsupportedOperationException(
            "This parser does not support specification \""
            + this.getClass().getPackage().getSpecificationTitle()
            + "\" version \""
            + this.getClass().getPackage().getSpecificationVersion()
            + "\""
            );
    }
{code}

Proposed: catch and log@error, add some XML parser diags. 

Incidentally, my JVM version is JRockit. I wonder if it is because it is pre 1.6u5, and that
when Sun pushed out new features in that update, it included XInclude awareness -as some versions
of Java6 clearly do not have it

> Xinclude setup results in a stack trace
> ---------------------------------------
>
>                 Key: HADOOP-5254
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5254
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.21.0
>            Reporter: Steve Loughran
>
> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message