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

tangjunjie commented on TEZ-1984:
---------------------------------

I check cdh document
http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cdh_ig_snappy_install.html
Snappy is provided in the hadoop package along with the other native libraries 
(such as native gzip compression).

I think snappy is effect beacuse MapReduceJob is ok.
I change follow configuration to false.
<property>
  <name>mapreduce.map.output.compress</name>  
  <value>true</value>
</property>

Everything go to ok.
Status: Running (application id: application_1421858664771_0007)

Map 1: -/-      Reducer 2: 0/1
Map 1: 0/1      Reducer 2: 0/1
Map 1: 0/1      Reducer 2: 0/1
Map 1: 1/1      Reducer 2: 0/1
Map 1: 1/1      Reducer 2: 1/1
Status: Finished successfully
OK
100000



> 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