java.lang.VerifyError: Bad type on operand stack Exception Details: Location: org/apache/hadoop/mapred/JobTrackerInstrumentation.create(Lorg/apache/hadoop/mapred/JobTracker;Lorg/apache/hadoop/mapred/JobConf;)Lorg/apache/hadoop/mapred/JobTrackerInstrumentation; @5: invokestatic Reason: Type 'org/apache/hadoop/metrics2/lib/DefaultMetricsSystem' (current frame, stack[2]) is not assignable to 'org/apache/hadoop/metrics2/MetricsSystem' Current Frame: bci: @5 flags: { } locals: { 'org/apache/hadoop/mapred/JobTracker', 'org/apache/hadoop/mapred/JobConf' } stack: { 'org/apache/hadoop/mapred/JobTracker', 'org/apache/hadoop/mapred/JobConf', 'org/apache/hadoop/metrics2/lib/DefaultMetricsSystem' } Bytecode: 0000000: 2a2b b200 03b8 0004 b0

pig-user | Russell Jurney | 2 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

    Pig 0.14 - Download, no hadoop install, local mode doesn't work?

    pig-user | 2 years ago | Russell Jurney
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: org/apache/hadoop/mapred/JobTrackerInstrumentation.create(Lorg/apache/hadoop/mapred/JobTracker;Lorg/apache/hadoop/mapred/JobConf;)Lorg/apache/hadoop/mapred/JobTrackerInstrumentation; @5: invokestatic Reason: Type 'org/apache/hadoop/metrics2/lib/DefaultMetricsSystem' (current frame, stack[2]) is not assignable to 'org/apache/hadoop/metrics2/MetricsSystem' Current Frame: bci: @5 flags: { } locals: { 'org/apache/hadoop/mapred/JobTracker', 'org/apache/hadoop/mapred/JobConf' } stack: { 'org/apache/hadoop/mapred/JobTracker', 'org/apache/hadoop/mapred/JobConf', 'org/apache/hadoop/metrics2/lib/DefaultMetricsSystem' } Bytecode: 0000000: 2a2b b200 03b8 0004 b0
  2. 0

    Pig 0.14 - Download, no hadoop install, local mode doesn't work?

    pig-user | 2 years ago | Russell Jurney
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: org/apache/hadoop/mapred/JobTrackerInstrumentation.create(Lorg/apache/hadoop/mapred/JobTracker;Lorg/apache/hadoop/mapred/JobConf;)Lorg/apache/hadoop/mapred/JobTrackerInstrumentation; @5: invokestatic Reason: Type 'org/apache/hadoop/metrics2/lib/DefaultMetricsSystem' (current frame, stack[2]) is not assignable to 'org/apache/hadoop/metrics2/MetricsSystem' Current Frame: bci: @5 flags: { } locals: { 'org/apache/hadoop/mapred/JobTracker', 'org/apache/hadoop/mapred/JobConf' } stack: { 'org/apache/hadoop/mapred/JobTracker', 'org/apache/hadoop/mapred/JobConf', 'org/apache/hadoop/metrics2/lib/DefaultMetricsSystem' } Bytecode: 0000000: 2a2b b200 03b8 0004 b0
  3. 0

    Pig 0.14 - Download, no hadoop install, local mode doesn't work?

    apache.org | 2 years ago
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: org/apache/hadoop/mapred/JobTrackerInstrumentation.create(Lorg/apache/hadoop/mapred/JobTracker;Lorg/apache/hadoop/mapred/JobConf;)Lorg/apache/hadoop/mapred/JobTrackerInstrumentation; @5: invokestatic Reason: Type 'org/apache/hadoop/metrics2/lib/DefaultMetricsSystem' (current frame, stack[2]) is not assignable to 'org/apache/hadoop/metrics2/MetricsSystem' Current Frame: bci: @5 flags: { } locals: { 'org/apache/hadoop/mapred/JobTracker', 'org/apache/hadoop/mapred/JobConf' } stack: { 'org/apache/hadoop/mapred/JobTracker', 'org/apache/hadoop/mapred/JobConf', 'org/apache/hadoop/metrics2/lib/DefaultMetricsSystem' } Bytecode: 0000000: 2a2b b200 03b8 0004 b0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Pig 0.14 - Download, no hadoop install, local mode doesn't work?

    pig-user | 2 years ago | Russell Jurney
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: > org/apache/hadoop/mapred/JobTrackerInstrumentation.create(Lorg/apache/hadoop/mapred/JobTracker;Lorg/apache/hadoop/mapred/JobConf;)Lorg/apache/hadoop/mapred/JobTrackerInstrumentation; > @5: invokestatic Reason: Type 'org/apache/hadoop/metrics2/lib/DefaultMetricsSystem' (current > frame, stack[2]) is not assignable to > 'org/apache/hadoop/metrics2/MetricsSystem' Current Frame: bci: @5 flags: { } locals: { 'org/apache/hadoop/mapred/JobTracker', > 'org/apache/hadoop/mapred/JobConf' } stack: { 'org/apache/hadoop/mapred/JobTracker', > 'org/apache/hadoop/mapred/JobConf', > 'org/apache/hadoop/metrics2/lib/DefaultMetricsSystem' } Bytecode: 0000000: 2a2b b200 03b8 0004 b0 > at org.apache.hadoop.mapred.LocalJobRunner.<init>(LocalJobRunner.java:420)
  6. 0

    Re: Pig 0.14 - Download, no hadoop install, local mode doesn't work?

    pig-user | 2 years ago | Russell Jurney
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: > org/apache/hadoop/mapred/JobTrackerInstrumentation.create(Lorg/apache/hadoop/mapred/JobTracker;Lorg/apache/hadoop/mapred/JobConf;)Lorg/apache/hadoop/mapred/JobTrackerInstrumentation; > @5: invokestatic Reason: Type 'org/apache/hadoop/metrics2/lib/DefaultMetricsSystem' (current > frame, stack[2]) is not assignable to > 'org/apache/hadoop/metrics2/MetricsSystem' Current Frame: bci: @5 flags: { } locals: { 'org/apache/hadoop/mapred/JobTracker', > 'org/apache/hadoop/mapred/JobConf' } stack: { 'org/apache/hadoop/mapred/JobTracker', > 'org/apache/hadoop/mapred/JobConf', > 'org/apache/hadoop/metrics2/lib/DefaultMetricsSystem' } Bytecode: 0000000: 2a2b b200 03b8 0004 b0 > at org.apache.hadoop.mapred.LocalJobRunner.<init>(LocalJobRunner.java:420)

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.VerifyError

      Bad type on operand stack Exception Details: Location: org/apache/hadoop/mapred/JobTrackerInstrumentation.create(Lorg/apache/hadoop/mapred/JobTracker;Lorg/apache/hadoop/mapred/JobConf;)Lorg/apache/hadoop/mapred/JobTrackerInstrumentation; @5: invokestatic Reason: Type 'org/apache/hadoop/metrics2/lib/DefaultMetricsSystem' (current frame, stack[2]) is not assignable to 'org/apache/hadoop/metrics2/MetricsSystem' Current Frame: bci: @5 flags: { } locals: { 'org/apache/hadoop/mapred/JobTracker', 'org/apache/hadoop/mapred/JobConf' } stack: { 'org/apache/hadoop/mapred/JobTracker', 'org/apache/hadoop/mapred/JobConf', 'org/apache/hadoop/metrics2/lib/DefaultMetricsSystem' } Bytecode: 0000000: 2a2b b200 03b8 0004 b0

      at org.apache.hadoop.mapred.LocalJobRunner.<init>()
    2. Hadoop
      JobClient.<init>
      1. org.apache.hadoop.mapred.LocalJobRunner.<init>(LocalJobRunner.java:420)
      2. org.apache.hadoop.mapred.JobClient.init(JobClient.java:472)
      3. org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:457)
      3 frames
    3. org.apache.pig
      Main.main
      1. org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:163)
      2. org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.launchPig(HExecutionEngine.java:280)
      3. org.apache.pig.PigServer.launchPlan(PigServer.java:1390)
      4. org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1375)
      5. org.apache.pig.PigServer.storeEx(PigServer.java:1034)
      6. org.apache.pig.PigServer.store(PigServer.java:997)
      7. org.apache.pig.PigServer.openIterator(PigServer.java:910)
      8. org.apache.pig.tools.grunt.GruntParser.processDump(GruntParser.java:746)
      9. org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:372)
      10. org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:230)
      11. org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:205)
      12. org.apache.pig.tools.grunt.Grunt.run(Grunt.java:66)
      13. org.apache.pig.Main.run(Main.java:558)
      14. org.apache.pig.Main.main(Main.java:170)
      14 frames