conf.Configuration: Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@47315d34:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"

wordpress.com | 2 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hadoop “Failed to set setXIncludeAware(true) for parser” error and how to resolve it | Freshly roasted

    wordpress.com | 2 months ago
    conf.Configuration: Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@47315d34:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"

    Root Cause Analysis

    1. conf.Configuration

      Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@47315d34: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()
    2. Java RT
      DocumentBuilderFactory.setXIncludeAware
      1. javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590)
      1 frame
    3. Hadoop
      ToolRunner.run
      1. org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1054)
      2. org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1030)
      3. org.apache.hadoop.conf.Configuration.getProps(Configuration.java:980)
      4. org.apache.hadoop.conf.Configuration.set(Configuration.java:405)
      5. org.apache.hadoop.conf.Configuration.setBoolean(Configuration.java:585)
      6. org.apache.hadoop.util.GenericOptionsParser.processGeneralOptions(GenericOptionsParser.java:290)
      7. org.apache.hadoop.util.GenericOptionsParser.parseGeneralOptions(GenericOptionsParser.java:375)
      8. org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:153)
      9. org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:138)
      10. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:59)
      10 frames
    4. my.job
      MapReduce.main
      1. my.job.MapReduce.main(MyJob.java:103)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. Hadoop
      RunJar.main
      1. org.apache.hadoop.util.RunJar.main(RunJar.java:156)
      1 frame