You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tez.apache.org by "Santhosh B Gowda (JIRA)" <ji...@apache.org> on 2016/09/01 17:44:20 UTC

[jira] [Created] (TEZ-3425) applicationId required in exception for debuggability

Santhosh B Gowda created TEZ-3425:
-------------------------------------

             Summary: applicationId required in exception for debuggability
                 Key: TEZ-3425
                 URL: https://issues.apache.org/jira/browse/TEZ-3425
             Project: Apache Tez
          Issue Type: Bug
    Affects Versions: 0.7.0
            Reporter: Santhosh B Gowda


Below exception from tez should include applicationId for better debuggability.

{code}
INFO  : Query ID = hive_20160901132033_7aec3057-fc36-4f24-a55d-bc251dca9b92
INFO  : Total jobs = 1
INFO  : Launching Job 1 out of 1
INFO  : Starting task [Stage-1:MAPRED] in serial mode
INFO  : Tez session hasn't been created yet. Opening session
ERROR : Failed to execute tez graph.
org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown. No cluster diagnostics found.
at org.apache.tez.client.TezClient.waitTillReady(TezClient.java:928) ~[tez-api-0.8.4.2.5.0.0-1232.jar:0.8.4.2.5.0.0-1232]
at org.apache.tez.client.TezClient.waitTillReady(TezClient.java:897) ~[tez-api-0.8.4.2.5.0.0-1232.jar:0.8.4.2.5.0.0-1232]
at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.startSessionAndContainers(TezSessionState.java:393) ~[hive-exec-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.openInternal(TezSessionState.java:320) ~[hive-exec-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolManager$TezSessionPoolSession.openInternal(TezSessionPoolManager.java:622) ~[hive-exec-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:200) ~[hive-exec-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at org.apache.hadoop.hive.ql.exec.tez.TezTask.updateSession(TezTask.java:283) ~[hive-exec-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at org.apache.hadoop.hive.ql.exec.tez.TezTask.execute(TezTask.java:155) [hive-exec-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:197) [hive-exec-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100) [hive-exec-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1870) [hive-exec-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1574) [hive-exec-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1326) [hive-exec-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1095) [hive-exec-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1088) [hive-exec-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:242) [hive-service-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at org.apache.hive.service.cli.operation.SQLOperation.access$800(SQLOperation.java:91) [hive-service-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork$1.run(SQLOperation.java:334) [hive-service-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_60]
at javax.security.auth.Subject.doAs(Subject.java:422) [?:1.8.0_60]
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724) [hadoop-common-2.7.3.2.5.0.0-1232.jar:?]
at org.apache.hive.service.cli.operation.SQLOperation$BackgroundWork.run(SQLOperation.java:347) [hive-service-2.1.0.2.5.0.0-1232.jar:2.1.0.2.5.0.0-1232]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_60]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
ERROR : FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask
INFO  : Completed executing command(queryId=hive_20160901132033_7aec3057-fc36-4f24-a55d-bc251dca9b92); Time taken: 32.331 seconds
Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask (state=08S01,code=1)
Closing: 0: jdbc:hive2://hcube1-1n02.eng.hortonworks.com:2181,hcube1-1n01.eng.hortonworks.com:2181,hcube1-1n03.eng.hortonworks.com:2181/tpch_flat_orc_1000;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2-hive2
Intercepting System.exit(2)
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.Hive2Main], exit code [2]

{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)