Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-964

ERROR conf.Configuration - Failed to set setXIncludeAware(true)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3, nutchgora
    • 1.3, nutchgora
    • None
    • None
    • Patch Available

    Description

      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.

      Attachments

        1. NUTCH-964.patch
          1 kB
          Markus Jelsma
        2. NUTCH-964-trunk.patch
          1 kB
          Markus Jelsma

        Activity

          People

            markus17 Markus Jelsma
            markus17 Markus Jelsma
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: