Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3348

Fix Hive test failures caused by NoSuchMethodError of ApplicationId.fromString

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      Some tests fails due to change of YARN API.

      Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.981 sec <<< FAILURE! - in org.apache.hadoop.hive.llap.daemon.impl.TestTaskExecutorService
      testPreemptionStateOnTaskMoveToNonFinishableState(org.apache.hadoop.hive.llap.daemon.impl.TestTaskExecutorService)  Time elapsed: 0.93 sec  <<< ERROR!
      java.lang.NoSuchMethodError: org.apache.hadoop.yarn.api.records.ApplicationId.fromString(Ljava/lang/String;)Lorg/apache/hadoop/yarn/api/records/ApplicationId;
              at org.apache.hadoop.yarn.util.ConverterUtils.toApplicationId(ConverterUtils.java:162)
              at org.apache.hadoop.hive.llap.tez.Converters.createTaskAttemptId(Converters.java:99)
              at org.apache.hadoop.hive.llap.tez.Converters.getTaskSpecfromProto(Converters.java:53)
              at org.apache.hadoop.hive.llap.daemon.impl.TaskRunnerCallable.<init>(TaskRunnerCallable.java:147)
              at org.apache.hadoop.hive.llap.daemon.impl.TaskExecutorTestHelpers$MockRequest.<init>(TaskExecutorTestHelpers.java:192)
              at org.apache.hadoop.hive.llap.daemon.impl.TaskExecutorTestHelpers.createMockRequest(TaskExecutorTestHelpers.java:76)
              at org.apache.hadoop.hive.llap.daemon.impl.TaskExecutorTestHelpers.createMockRequest(TaskExecutorTestHelpers.java:57)
              at org.apache.hadoop.hive.llap.daemon.impl.TestTaskExecutorService.testPreemptionStateOnTaskMoveToNonFinishableState(TestTaskExecutorService.java:150)
              ...
      

        Attachments

        1. hive-deptree.txt
          488 kB
          Masatake Iwasaki

          Issue Links

            Activity

              People

              • Assignee:
                iwasakims Masatake Iwasaki
                Reporter:
                iwasakims Masatake Iwasaki
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h