Ricardo Pinto created TEZ-2611:
----------------------------------
Summary: HIVE: Tez job fails / MR succeeds
Key: TEZ-2611
URL: https://issues.apache.org/jira/browse/TEZ-2611
Project: Apache Tez
Issue Type: Bug
Affects Versions: 0.5.2
Environment: Hortonworks cluster 2.2 with hive 0.14 and tez 0.5.2
Reporter: Ricardo Pinto
Priority: Blocker
I try to execute a simple query in hive with tez:
insert into table ctrl_batch select batchnumber from ext.ctrl_batch;
ext.ctrl_batch has 100 rows.
The tez job fails with the following errors:
2015-07-10 10:05:42,742 INFO SessionState (SessionState.java:printInfo(824)) -
Map 1: 0(+0,-1)/1
2015-07-10 10:05:44,605 INFO SessionState (SessionState.java:printInfo(824)) -
Map 1: 0(+0,-2)/1
2015-07-10 10:05:46,853 INFO SessionState (SessionState.java:printInfo(824)) -
Map 1: 0(+0,-3)/1
2015-07-10 10:05:48,916 ERROR SessionState (SessionState.java:printError(833))
- Status: Failed
2015-07-10 10:05:48,919 ERROR SessionState (SessionState.java:printError(833))
- Vertex failed, vertexName=Map 1, vertexId=vertex_1436518699842_0001_2_00,
diagnostics=[Task failed, taskId=task_1436518699842_0001_2_00_000000,
diagnostics=[TaskAttempt 0 failed, info=[Container
container_1436518699842_0001_02_000037 finished with diagnostics set to
[Container failed. Exception from container-launch.
Container id: container_1436518699842_0001_02_000037
Exit code: 1
Stack trace: ExitCodeException exitCode=1:
at org.apache.hadoop.util.Shell.runCommand(Shell.java:538)
at org.apache.hadoop.util.Shell.run(Shell.java:455)
at
org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:715)
at
org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:212)
at
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302)
at
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
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)
Shell output: 1 file(s) moved.
Container exited with a non-zero exit code 1
]], TaskAttempt 1 failed, info=[Container
container_1436518699842_0001_02_000038 finished with diagnostics set to
[Container failed. Exception from container-launch.
However if I set hive.execution.engine=mr; the query executes perfectly.
Can anyone help?
Thank you.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)