[ https://issues.apache.org/jira/browse/TEZ-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14285402#comment-14285402 ]
Jeff Zhang commented on TEZ-1984: --------------------------------- [~r7raul] Looks like snappy issue. Have you installed snappy library ? {code} java.lang.UnsatisfiedLinkError: org.apache.hadoop.util.NativeCodeLoader.buildSupportsSnappy()Z at org.apache.hadoop.util.NativeCodeLoader.buildSupportsSnappy(Native Method) at org.apache.hadoop.io.compress.SnappyCodec.checkNativeCodeLoaded(SnappyCodec.java:63) at org.apache.hadoop.io.compress.SnappyCodec.getCompressorType(SnappyCodec.java:132) at org.apache.hadoop.io.compress.CodecPool.getCompressor(CodecPool.java:148) at org.apache.hadoop.io.compress.CodecPool.getCompressor(CodecPool.java:163) at org.apache.tez.runtime.library.common.sort.impl.IFile$Writer.<init>(IFile.java:128) at org.apache.tez.runtime.library.common.sort.impl.dflt.DefaultSorter.spill(DefaultSorter.java:749) at org.apache.tez.runtime.library.common.sort.impl.dflt.DefaultSorter.sortAndSpill(DefaultSorter.java:723) at org.apache.tez.runtime.library.common.sort.impl.dflt.DefaultSorter.flush(DefaultSorter.java:610) at org.apache.tez.runtime.library.output.OnFileSortedOutput.close(OnFileSortedOutput.java:134) at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.close(LogicalIOProcessorRuntimeTask.java:331) at org.apache.hadoop.mapred.YarnTezDagChild$5.run(YarnTezDagChild.java:567) 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:1614) at org.apache.hadoop.mapred.YarnTezDagChild.main(YarnTezDagChild.java:553) 2015-01-22 01:23:25,821 INFO [main] org.apache.hadoop.util.ExitUtil: Exiting with status -1 {code} > 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)