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)

pig-user | Russell Jurney | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 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)
  2. 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)
  3. 0

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

    apache.org | 1 year 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

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

    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>(LocalJobRunner.java:420)

      at org.apache.hadoop.mapred.JobClient.init()
    2. Hadoop
      JobClient.<init>
      1. org.apache.hadoop.mapred.JobClient.init(JobClient.java:472)
      2. org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:457)
      2 frames