Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8661

org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.lang.reflect.InvocationTargetException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0, 3.1.0
    • None
    • yarn
    • None
    • centos 7.0、jdk1.8

       

    Description

      Hadoop3.1.0 mapreduce on yarn report error,Hadoop 3.0.0 is too!{{}}
       
      Showing 4096 bytes. Click here for full log
       
      not assignable to 'org/apache/hadoop/shaded/com/google/protobuf/GeneratedMessage'
        Current Frame:
          bci: @36 
          flags: { }
          locals: { 'org/apache/hadoop/mapreduce/v2/proto/MRProtos$JobIdProto$Builder''org/apache/hadoop/yarn/proto/YarnProtos$ApplicationIdProto' }
          stack: { 'org/apache/hadoop/shaded/com/google/protobuf/SingleFieldBuilder''org/apache/hadoop/yarn/proto/YarnProtos$ApplicationIdProto' }
        Bytecode:
          0x0000000: 2ab4 0073 c700 1b2b c700 0bbb 00f3 59b7
          0x0000010: 00f4 bf2a 2bb5 005a 2ab6 00f7 a700 0c2a
          0x0000020: b400 732b b600 fb57 2a59 b400 7904 80b5
          0x00000300079 2ab0                              
        Stackmap Table:
          same_frame(@19)
          same_frame(@31)
          same_frame(@40)
       
          at org.apache.hadoop.mapreduce.v2.proto.MRProtos$JobIdProto.newBuilder(MRProtos.java:1017)
          at org.apache.hadoop.mapreduce.v2.api.records.impl.pb.JobIdPBImpl.<init>(JobIdPBImpl.java:37)
          ... 15 more
      2018{}07{}13 16:17:02,989 ERROR [main] org.apache.hadoop.mapreduce.v2.app.MRAppMaster: Error starting MRAppMaster
      org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.lang.reflect.InvocationTargetException
          at org.apache.hadoop.yarn.factories.impl.pb.RecordFactoryPBImpl.newRecordInstance(RecordFactoryPBImpl.java:73)
          at org.apache.hadoop.yarn.util.Records.newRecord(Records.java:36)
          at org.apache.hadoop.mapreduce.v2.util.MRBuilderUtils.newJobId(MRBuilderUtils.java:39)
          at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.serviceInit(MRAppMaster.java:299)
          at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
          at org.apache.hadoop.mapreduce.v2.app.MRAppMaster$6.run(MRAppMaster.java:1760)
          at java.security.AccessController.doPrivileged(Native Method)
          at javax.security.auth.Subject.doAs(Subject.java:422)
          at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1682)
          at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.initAndStartAppMaster(MRAppMaster.java:1757)
          at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.main(MRAppMaster.java:1691)
      Caused by: java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
          at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
          at org.apache.hadoop.yarn.factories.impl.pb.RecordFactoryPBImpl.newRecordInstance(RecordFactoryPBImpl.java:70)
          ... 10 more
      Caused by: java.lang.VerifyError: Bad type on operand stack
      Exception Details:
        Location:
          org/apache/hadoop/mapreduce/v2/proto/MRProtos$JobIdProto$Builder.setAppId(Lorg/apache/hadoop/yarn/proto/YarnProtos$ApplicationIdProto;)Lorg/apache/hadoop/mapreduce/v2/proto/MRProtos$JobIdProto$Builder; @36 : invokevirtual
        Reason:
          Type 'org/apache/hadoop/yarn/proto/YarnProtos$ApplicationIdProto' (current frame, stack[}}{{1}}{{]) is not assignable to 'org/apache/hadoop/shaded/com/google/protobuf/GeneratedMessage'
        Current Frame:
          bci: @36
          flags: { }
          locals: { 'org/apache/hadoop/mapreduce/v2/proto/MRProtos$JobIdProto$Builder''org/apache/hadoop/yarn/proto/YarnProtos$ApplicationIdProto' }
          stack: { 'org/apache/hadoop/shaded/com/google/protobuf/SingleFieldBuilder''org/apache/hadoop/yarn/proto/YarnProtos$ApplicationIdProto' }
        Bytecode:
          0x0000000: 2ab4 0073 c700 1b2b c700 0bbb 00f3 59b7
          0x0000010: 00f4 bf2a 2bb5 005a 2ab6 00f7 a700 0c2a
          0x0000020: b400 732b b600 fb57 2a59 b400 7904 80b5
          0x00000300079 2ab0                              
        Stackmap Table:
          same_frame(@19)
          same_frame(@31)
          same_frame(@40)
       
          at org.apache.hadoop.mapreduce.v2.proto.MRProtos$JobIdProto.newBuilder(MRProtos.java:1017)
          at org.apache.hadoop.mapreduce.v2.api.records.impl.pb.JobIdPBImpl.<init>(JobIdPBImpl.java:37)
          ... 15 more
      2018{}07{}13 16:17:02,990 INFO [main] org.apache.hadoop.util.ExitUtil: Exiting with status 1: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.lang.reflect.InvocationTargetException

      Attachments

        Activity

          People

            Unassigned Unassigned
            wzw wzwtest
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: