java.lang.InstantiationError: org.apache.hadoop.mapreduce.JobContext

Google Groups | jcrke | 4 years 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

    EB & Hadoop 2.0

    Google Groups | 4 years ago | jcrke
    java.lang.InstantiationError: org.apache.hadoop.mapreduce.JobContext
  2. 0

    API incompatibility with Hadoop 2.x JobContext

    GitHub | 4 years ago | alexholmes
    java.lang.InstantiationError: org.apache.hadoop.mapreduce.JobContext

    Root Cause Analysis

    1. java.lang.InstantiationError

      org.apache.hadoop.mapreduce.JobContext

      at com.twitter.elephantbird.mapred.input.DeprecatedInputFormatWrapper.getSplits()
    2. Elephant Bird Core
      DeprecatedInputFormatWrapper.getSplits
      1. com.twitter.elephantbird.mapred.input.DeprecatedInputFormatWrapper.getSplits(DeprecatedInputFormatWrapper.java:100)
      1 frame
    3. Hive Query Language
      Driver.getResults
      1. org.apache.hadoop.hive.ql.exec.FetchOperator.getRecordReader(FetchOperator.java:281)
      2. org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:320)
      3. org.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:154)
      4. org.apache.hadoop.hive.ql.Driver.getResults(Driver.java:1382)
      4 frames
    4. org.apache.hadoop
      CliDriver.main
      1. org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:269)
      2. org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:215)
      3. org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:406)
      4. org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:744)
      5. org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:607)
      5 frames
    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:208)
      1 frame