You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2011/01/27 14:17:45 UTC

[jira] Commented: (NUTCH-964) ERROR conf.Configuration - Failed to set setXIncludeAware(true)

    [ https://issues.apache.org/jira/browse/NUTCH-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987547#action_12987547 ] 

Andrzej Bialecki  commented on NUTCH-964:
-----------------------------------------

This error has been bothering me for a while, too - it's great that an upgrade fixes it and doesn't break other stuff ;) One area that was sensitive to Xerces versions in the past was the Neko parser (in parse-html) but if its tests pass then +1 to commit the patch. We should upgrade trunk too.

> ERROR conf.Configuration - Failed to set setXIncludeAware(true)
> ---------------------------------------------------------------
>
>                 Key: NUTCH-964
>                 URL: https://issues.apache.org/jira/browse/NUTCH-964
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Markus Jelsma
>             Fix For: 1.3
>
>         Attachments: NUTCH-964.patch
>
>
> Each executed job results in a number of occurences of the exception below:
> 2011-01-27 13:40:34,457 ERROR conf.Configuration - Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@3801318b:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
> java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
>         at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590)
>         at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1054)
>         at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1040)
>         at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:980)
>         at org.apache.hadoop.conf.Configuration.get(Configuration.java:436)
>         at org.apache.hadoop.fs.FileSystem.getDefaultUri(FileSystem.java:103)
>         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95)
>         at org.apache.nutch.crawl.Injector.inject(Injector.java:230)
>         at org.apache.nutch.crawl.Injector.run(Injector.java:248)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>         at org.apache.nutch.crawl.Injector.main(Injector.java:238)
> This can be fixed by upgrading xercesImpl from 2.6.2 to 2.9.1. If modified ivy and lib-xml's ivy configuration and can commit it. The question is, is upgrading the correct method? I've tested Nutch with 2.9.1 and except the lack of the annoying exception everything works as expected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.