gewenhui created TEZ-3031:
-----------------------------

             Summary: java.lang.NoSuchMethodError
                 Key: TEZ-3031
                 URL: https://issues.apache.org/jira/browse/TEZ-3031
             Project: Apache Tez
          Issue Type: Bug
    Affects Versions: 0.7.0
         Environment: CDH-5.4.8,hadoop-2.6.0,hive-1.1.0
            Reporter: gewenhui
             Fix For: 0.7.0


hive (wzhl)> set hive.execution.engine=tez;
hive (wzhl)> select count(1) from new_user;
Query ID = root_20160111145454_76e6d365-df98-4a53-a8a5-8023e23865a9
Total jobs = 1
Launching Job 1 out of 1


Status: Running (Executing on YARN cluster with App id 
application_1449729554133_9383)

--------------------------------------------------------------------------------
        VERTICES      STATUS  TOTAL  COMPLETED  RUNNING  PENDING  FAILED  KILLED
--------------------------------------------------------------------------------
Map 1                 FAILED      2          0        0        2       7       1
Reducer 2             KILLED      1          0        0        1       0       1
--------------------------------------------------------------------------------
VERTICES: 00/02  [>>--------------------------] 0%    ELAPSED TIME: 17.15 s    
--------------------------------------------------------------------------------
Status: Failed
Vertex failed, vertexName=Map 1, vertexId=vertex_1449729554133_9383_1_00, 
diagnostics=[Task failed, taskId=task_1449729554133_9383_1_00_000000, 
diagnostics=[TaskAttempt 0 failed, info=[Error: Failure while running 
task:java.lang.Exception: java.util.concurrent.ExecutionException: 
java.lang.NoSuchMethodError: org.apache.hadoop.mapred.TaskID: method 
<init>(Ljava/lang/String;ILorg/apache/hadoop/mapreduce/TaskType;I)V not found
        at 
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.initialize(LogicalIOProcessorRuntimeTask.java:234)
        at 
org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable$1.run(TezTaskRunner.java:176)
        at 
org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable$1.run(TezTaskRunner.java:171)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
        at 
org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable.callInternal(TezTaskRunner.java:171)
        at 
org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable.callInternal(TezTaskRunner.java:167)
        at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.concurrent.ExecutionException: 
java.lang.NoSuchMethodError: org.apache.hadoop.mapred.TaskID: method 
<init>(Ljava/lang/String;ILorg/apache/hadoop/mapreduce/TaskType;I)V not found
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.util.concurrent.FutureTask.get(FutureTask.java:188)
        at 
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.initialize(LogicalIOProcessorRuntimeTask.java:228)
        ... 12 more
Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.mapred.TaskID: method 
<init>(Ljava/lang/String;ILorg/apache/hadoop/mapreduce/TaskType;I)V not found
        at 
org.apache.tez.mapreduce.input.base.MRInputBase.initialize(MRInputBase.java:88)
        at org.apache.tez.mapreduce.input.MRInput.initialize(MRInput.java:436)
        at 
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$InitializeInputCallable.callInternal(LogicalIOProcessorRuntimeTask.java:406)
        at 
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$InitializeInputCallable.callInternal(LogicalIOProcessorRuntimeTask.java:385)
        at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        ... 4 more
], TaskAttempt 1 failed, info=[Error: Failure while running 
task:java.lang.Exception: java.util.concurrent.ExecutionException: 
java.lang.NoSuchMethodError: org.apache.hadoop.mapred.TaskID: method 
<init>(Ljava/lang/String;ILorg/apache/hadoop/mapreduce/TaskType;I)V not found
        at 
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.initialize(LogicalIOProcessorRuntimeTask.java:234)
        at 
org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable$1.run(TezTaskRunner.java:176)
        at 
org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable$1.run(TezTaskRunner.java:171)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
        at 
org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable.callInternal(TezTaskRunner.java:171)
        at 
org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable.callInternal(TezTaskRunner.java:167)
        at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.concurrent.ExecutionException: 
java.lang.NoSuchMethodError: org.apache.hadoop.mapred.TaskID: method 
<init>(Ljava/lang/String;ILorg/apache/hadoop/mapreduce/TaskType;I)V not found
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.util.concurrent.FutureTask.get(FutureTask.java:188)
        at 
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.initialize(LogicalIOProcessorRuntimeTask.java:228)
        ... 12 more
Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.mapred.TaskID: method 
<init>(Ljava/lang/String;ILorg/apache/hadoop/mapreduce/TaskType;I)V not found
        at 
org.apache.tez.mapreduce.input.base.MRInputBase.initialize(MRInputBase.java:88)
        at org.apache.tez.mapreduce.input.MRInput.initialize(MRInput.java:436)
        at 
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$InitializeInputCallable.callInternal(LogicalIOProcessorRuntimeTask.java:406)
        at 
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$InitializeInputCallable.callInternal(LogicalIOProcessorRuntimeTask.java:385)
        at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        ... 4 more
], TaskAttempt 2 failed, info=[Error: Failure while running 
task:java.lang.Exception: java.util.concurrent.ExecutionException: 
java.lang.NoSuchMethodError: org.apache.hadoop.mapred.TaskID: method 
<init>(Ljava/lang/String;ILorg/apache/hadoop/mapreduce/TaskType;I)V not found
        at 
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.initialize(LogicalIOProcessorRuntimeTask.java:234)
        at 
org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable$1.run(TezTaskRunner.java:176)
        at 
org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable$1.run(TezTaskRunner.java:171)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
        at 
org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable.callInternal(TezTaskRunner.java:171)
        at 
org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable.callInternal(TezTaskRunner.java:167)
        at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.concurrent.ExecutionException: 
java.lang.NoSuchMethodError: org.apache.hadoop.mapred.TaskID: method 
<init>(Ljava/lang/String;ILorg/apache/hadoop/mapreduce/TaskType;I)V not found
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.util.concurrent.FutureTask.get(FutureTask.java:188)
        at 
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.initialize(LogicalIOProcessorRuntimeTask.java:228)
        ... 12 more
Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.mapred.TaskID: method 
<init>(Ljava/lang/String;ILorg/apache/hadoop/mapreduce/TaskType;I)V not found
        at 
org.apache.tez.mapreduce.input.base.MRInputBase.initialize(MRInputBase.java:88)
        at org.apache.tez.mapreduce.input.MRInput.initialize(MRInput.java:436)
        at 
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$InitializeInputCallable.callInternal(LogicalIOProcessorRuntimeTask.java:406)
        at 
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$InitializeInputCallable.callInternal(LogicalIOProcessorRuntimeTask.java:385)
        at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        ... 4 more
], TaskAttempt 3 failed, info=[Error: Failure while running 
task:java.lang.Exception: java.util.concurrent.ExecutionException: 
java.lang.NoSuchMethodError: org.apache.hadoop.mapred.TaskID: method 
<init>(Ljava/lang/String;ILorg/apache/hadoop/mapreduce/TaskType;I)V not found
        at 
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.initialize(LogicalIOProcessorRuntimeTask.java:234)
        at 
org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable$1.run(TezTaskRunner.java:176)
        at 
org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable$1.run(TezTaskRunner.java:171)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
        at 
org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable.callInternal(TezTaskRunner.java:171)
        at 
org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable.callInternal(TezTaskRunner.java:167)
        at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.concurrent.ExecutionException: 
java.lang.NoSuchMethodError: org.apache.hadoop.mapred.TaskID: method 
<init>(Ljava/lang/String;ILorg/apache/hadoop/mapreduce/TaskType;I)V not found
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.util.concurrent.FutureTask.get(FutureTask.java:188)
        at 
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.initialize(LogicalIOProcessorRuntimeTask.java:228)
        ... 12 more
Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.mapred.TaskID: method 
<init>(Ljava/lang/String;ILorg/apache/hadoop/mapreduce/TaskType;I)V not found
        at 
org.apache.tez.mapreduce.input.base.MRInputBase.initialize(MRInputBase.java:88)
        at org.apache.tez.mapreduce.input.MRInput.initialize(MRInput.java:436)
        at 
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$InitializeInputCallable.callInternal(LogicalIOProcessorRuntimeTask.java:406)
        at 
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$InitializeInputCallable.callInternal(LogicalIOProcessorRuntimeTask.java:385)
        at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        ... 4 more
]], Vertex did not succeed due to OWN_TASK_FAILURE, failedTasks:1 
killedTasks:1, Vertex vertex_1449729554133_9383_1_00 [Map 1] killed/failed due 
to:null]
Vertex killed, vertexName=Reducer 2, vertexId=vertex_1449729554133_9383_1_01, 
diagnostics=[Vertex received Kill while in RUNNING state., Vertex did not 
succeed due to OTHER_VERTEX_FAILURE, failedTasks:0 killedTasks:1, Vertex 
vertex_1449729554133_9383_1_01 [Reducer 2] killed/failed due to:null]
DAG did not succeed due to VERTEX_FAILURE. failedVertices:1 killedVertices:1
FAILED: Execution Error, return code 2 from 
org.apache.hadoop.hive.ql.exec.tez.TezTask



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to