[ 
https://issues.apache.org/jira/browse/TEZ-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14286754#comment-14286754
 ] 

Hitesh Shah commented on TEZ-1984:
----------------------------------

[~r7raul] Based on the app logs, there is an issue in the snappy codec setup on 
the cluster you are using. 

Can you look at these settings in your tez-site.xml:

tez.runtime.intermediate-output.should-compress
tez.runtime.intermediate-output.compress.codec
tez.runtime.intermediate-input.is-compressed
tez.runtime.intermediate-input.compress.codec

Can you set tez.runtime.intermediate-output.should-compress and 
tez.runtime.intermediate-input.is-compressed to false and try again? 

In the future, please send questions about such failures to u...@tez.apache.org 
first instead of filing a jira. 



> hive0.13.1+tez-0.4.1-incubating+hadoop-2.5.0-cdh5.2.0 run query error
> ---------------------------------------------------------------------
>
>                 Key: TEZ-1984
>                 URL: https://issues.apache.org/jira/browse/TEZ-1984
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.4.1
>         Environment: hive0.13.1+tez-0.4.1-incubating+hadoop-2.5.0-cdh5.2.0
>            Reporter: tangjunjie
>         Attachments: applog.txt
>
>
> hive> select count(*) from u_data;   
> Total jobs = 1
> Launching Job 1 out of 1
> Status: Running (application id: application_1421076019070_0156)
> Map 1: -/-    Reducer 2: 0/1  
> Map 1: 0/1    Reducer 2: 0/1  
> Map 1: 0/1    Reducer 2: 0/1  
> Map 1: 0/1    Reducer 2: 0/1  
> Map 1: 0/1    Reducer 2: 0/1  
> Map 1: 0/1    Reducer 2: 0/1  
> Map 1: 0/1    Reducer 2: 0/1  
> Map 1: 0/1    Reducer 2: 0/1  
> Map 1: 0/1    Reducer 2: 0/1  
> Map 1: 0/1    Reducer 2: 0/1  
> Status: Failed
> Vertex failed, vertexName=Map 1, vertexId=vertex_1421076019070_0156_1_01, 
> diagnostics=[Task failed, taskId=task_1421076019070_0156_1_01_000000, 
> diagnostics=[AttemptID:attempt_1421076019070_0156_1_01_000000_0 
> Info:Container container_1421076019070_0156_01_000002 COMPLETED with 
> diagnostics set to [Exception from container-launch.
> Container id: container_1421076019070_0156_01_000002
> Exit code: 255
> Stack trace: ExitCodeException exitCode=255: 
>       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:702)
>       at 
> org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:196)
>       at 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:299)
>       at 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:81)
>       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)
> Container exited with a non-zero exit code 255
> ], AttemptID:attempt_1421076019070_0156_1_01_000000_1 Info:Container 
> container_1421076019070_0156_01_000003 COMPLETED with diagnostics set to 
> [Exception from container-launch.
> Container id: container_1421076019070_0156_01_000003
> Exit code: 255
> Stack trace: ExitCodeException exitCode=255: 
>       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:702)
>       at 
> org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:196)
>       at 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:299)
>       at 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:81)
>       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)
> Container exited with a non-zero exit code 255
> ], AttemptID:attempt_1421076019070_0156_1_01_000000_2 Info:Container 
> container_1421076019070_0156_01_000004 COMPLETED with diagnostics set to 
> [Exception from container-launch.
> Container id: container_1421076019070_0156_01_000004
> Exit code: 255
> Stack trace: ExitCodeException exitCode=255: 
>       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:702)
>       at 
> org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:196)
>       at 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:299)
>       at 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:81)
>       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)
> Container exited with a non-zero exit code 255
> ], AttemptID:attempt_1421076019070_0156_1_01_000000_3 Info:Container 
> container_1421076019070_0156_01_000005 COMPLETED with diagnostics set to 
> [Exception from container-launch.
> Container id: container_1421076019070_0156_01_000005
> Exit code: 255
> Stack trace: ExitCodeException exitCode=255: 
>       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:702)
>       at 
> org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:196)
>       at 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:299)
>       at 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:81)
>       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)
> Container exited with a non-zero exit code 255
> ]], Vertex failed as one or more tasks failed. failedTasks:1]
> Vertex killed, vertexName=Reducer 2, vertexId=vertex_1421076019070_0156_1_00, 
> diagnostics=[Vertex received Kill while in RUNNING state., Vertex killed as 
> other vertex failed. failedTasks:0]
> DAG failed 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