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

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

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


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.


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

Posted by "Julien Nioche (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987556#action_12987556 ] 

Julien Nioche commented on NUTCH-964:
-------------------------------------

don't forget to add an entry in the CHANGES.txt before you commit ;-)


> 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, 2.0
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-964-trunk.patch, 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.


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

Posted by "Julien Nioche (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987570#action_12987570 ] 

Julien Nioche commented on NUTCH-964:
-------------------------------------

Have a look at Alexis' tutorial for 2.0 : http://techvineyard.blogspot.com/2010/12/build-nutch-20.html
Some of the issues that Alexis encountered have been fixed since. The more people can use the trunk, the merrier...

> 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, 2.0
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-964-trunk.patch, 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.


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

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987566#action_12987566 ] 

Markus Jelsma commented on NUTCH-964:
-------------------------------------

I followed Chris' instruction in some issue on Gora for trunk. It failed and i haven't found the time to figure it out since. Perhaps i should so none of you need to bother with my half-closed tickets ;)

> 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, 2.0
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-964-trunk.patch, 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.


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

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma updated NUTCH-964:
--------------------------------

    Attachment: NUTCH-964-trunk.patch

Patch for Nutch 2.0

> 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, 2.0
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-964-trunk.patch, 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.


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

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma resolved NUTCH-964.
---------------------------------

    Resolution: Fixed

Committed for trunk in rev 1064169.

> 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, 2.0
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-964-trunk.patch, 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.


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

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987613#action_12987613 ] 

Markus Jelsma commented on NUTCH-964:
-------------------------------------

Well, just building the most recent Gora did the trick this time, Nutch trunk compiles just right with the upgraded Xerces. I'll check the tests and commit if things are working as they should. Note, the exception itself does not seem to occur in trunk.

> 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, 2.0
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-964-trunk.patch, 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.


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

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma updated NUTCH-964:
--------------------------------

    Patch Info: [Patch Available]

> 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.


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

Posted by "Julien Nioche (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987563#action_12987563 ] 

Julien Nioche commented on NUTCH-964:
-------------------------------------

cool thanks : -)
What problems are you having with 2.0? Did you checkout and compile gora first?


> 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, 2.0
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-964-trunk.patch, 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.


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

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma updated NUTCH-964:
--------------------------------

    Attachment: NUTCH-964.patch

Upgrades xercesImpl from 2.6.2 to 2.9.1

> 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.


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

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma closed NUTCH-964.
-------------------------------


> 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, 2.0
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-964-trunk.patch, 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987561#action_12987561 ] 

Markus Jelsma commented on NUTCH-964:
-------------------------------------

I remembered ;). I also updated the CHANGES and added the name of the person who provided a patch for the other issue.

> 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, 2.0
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-964-trunk.patch, 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.


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

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987555#action_12987555 ] 

Markus Jelsma commented on NUTCH-964:
-------------------------------------

All tests pass. Committed for branch-1.3 in rev 1064121. Also attached patch for trunk but i haven't succesfully compiled trunk yet, can someone else confirm the tests pass and the exceptions are gone?

> 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, 2.0
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-964-trunk.patch, 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.


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

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma updated NUTCH-964:
--------------------------------

    Affects Version/s: 2.0
        Fix Version/s: 2.0

> 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, 2.0
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.3, 2.0
>
>         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.


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

Posted by "Andrzej Bialecki (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma reassigned NUTCH-964:
-----------------------------------

    Assignee: Markus Jelsma

> 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, 2.0
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.3, 2.0
>
>         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.