Rajesh Balamohan created HIVE-12564:
---------------------------------------
Summary: Hive query fails with "Caused by:
java.lang.RuntimeException: cannot find field _col1 from []"
Key: HIVE-12564
URL: https://issues.apache.org/jira/browse/HIVE-12564
Project: Hive
Issue Type: Bug
Reporter: Rajesh Balamohan
environment: master branch
{noformat}
]], Vertex did not succeed due to OWN_TASK_FAILURE, failedTasks:1
killedTasks:503, Vertex vertex_1448429572030_2122_4_06 [Reducer 5]
killed/failed due to:OWN_TASK_FAILURE]Vertex killed, vertexName=Reducer 6,
vertexId=vertex_1448429572030_2122_4_07, diagnostics=[Vertex received Kill
while in RUNNING state., Vertex did not succeed due to OTHER_VERTEX_FAILURE,
failedTasks:0 killedTasks:1, Vertex vertex_1448429572030_2122_4_07 [Reducer 6]
killed/failed due to:OTHER_VERTEX_FAILURE]DAG did not succeed due to
VERTEX_FAILURE. failedVertices:1 killedVertices:1
at
org.apache.hive.service.cli.operation.Operation.toSQLException(Operation.java:367)
~[hive-jdbc-2.0.0-SNAPSHOT-standalone.jar:2.0.0-SNAPSHOT]
at
org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:183)
~[hive-jdbc-2.0.0-SNAPSHOT-standalone.jar:2.0.0-SNAPSHOT]
at
org.apache.hive.service.cli.operation.SQLOperation.access$100(SQLOperation.java:73)
~[hive-jdbc-2.0.0-SNAPSHOT-standalone.jar:2.0.0-SNAPSHOT]
at
org.apache.hive.service.cli.operation.SQLOperation$2$1.run(SQLOperation.java:234)
[hive-jdbc-2.0.0-SNAPSHOT-standalone.jar:2.0.0-SNAPSHOT]
at java.security.AccessController.doPrivileged(Native Method)
~[?:1.8.0_40]
at javax.security.auth.Subject.doAs(Subject.java:422) [?:1.8.0_40]
at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
[hadoop-common-2.7.1.2.3.0.0-2557.jar:?]
at
org.apache.hive.service.cli.operation.SQLOperation$2.run(SQLOperation.java:247)
[hive-jdbc-2.0.0-SNAPSHOT-standalone.jar:2.0.0-SNAPSHOT]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[?:1.8.0_40]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_40]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:1.8.0_40]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_40]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_40]
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Vertex failed,
vertexName=Reducer 5, vertexId=vertex_1448429572030_2122_4_06,
diagnostics=[Task failed, taskId=task_1448429572030_2122_4_06_000078,
diagnostics=[TaskAttempt 0 failed, info=[Error: Failure while running task:
attempt_1448429572030_2122_4_06_000078_0:java.lang.RuntimeException:
java.lang.RuntimeException: cannot find field _col1 from []
at
org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:195)
at
org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:160)
at
org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:348)
at
org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:71)
at
org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:60)
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:1657)
at
org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:60)
at
org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:35)
at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: cannot find field _col1 from []
at
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorUtils.getStandardStructFieldRef(ObjectInspectorUtils.java:442)
at
org.apache.hadoop.hive.serde2.objectinspector.StandardStructObjectInspector.getStructFieldRef(StandardStructObjectInspector.java:147)
at
org.apache.hadoop.hive.ql.exec.ExprNodeColumnEvaluator.initialize(ExprNodeColumnEvaluator.java:79)
at
org.apache.hadoop.hive.ql.exec.JoinUtil.getObjectInspectorsFromEvaluators(JoinUtil.java:91)
at
org.apache.hadoop.hive.ql.exec.AbstractMapJoinOperator.initializeOp(AbstractMapJoinOperator.java:67)
at
org.apache.hadoop.hive.ql.exec.MapJoinOperator.initializeOp(MapJoinOperator.java:132)
at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:370)
at
org.apache.hadoop.hive.ql.exec.tez.ReduceRecordProcessor.init(ReduceRecordProcessor.java:155)
at
org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:171)
... 14 more
]], Vertex did not succeed due to OWN_TASK_FAILURE, failedTasks:1
killedTasks:503, Vertex vertex_1448429572030_2122_4_06 [Reducer 5]
killed/failed due to:OWN_TASK_FAILURE]Vertex killed, vertexName=Reducer 6,
vertexId=vertex_1448429572030_2122_4_07, diagnostics=[Vertex received Kill
while in RUNNING state., Vertex did not succeed due to OTHER_VERTEX_FAILURE,
failedTasks:0 killedTasks:1, Vertex vertex_1448429572030_2122_4_07 [Reducer 6]
killed/failed due to:OTHER_VERTEX_FAILURE]DAG did not succeed due to
VERTEX_FAILURE. failedVertices:1 killedVertices:1
at org.apache.hadoop.hive.ql.exec.tez.TezTask.execute(TezTask.java:187)
~[hive-exec-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160)
~[hive-exec-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at
org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:89)
~[hive-exec-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1814)
~[hive-exec-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1559)
~[hive-exec-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1336)
~[hive-exec-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1152)
~[hive-exec-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1145)
~[hive-exec-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at
org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:181)
~[hive-jdbc-2.0.0-SNAPSHOT-standalone.jar:2.0.0-SNAPSHOT]
... 11 more
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)