Exception in thread "main" java.lang.RuntimeException: org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown.

This is for Hadoop eco system like HDFS, Map reduce, Hive, Hbase, Pig, sqoop,sqoop2, Avro, solr, hcatalog, impala, Oozie, Zoo Keeper and Hadoop distribution like Cloudera, Hortonwork etc.
forum_admin
Site Admin
Posts: 185
Joined: Wed Jul 16, 2014 9:22 pm
Contact:

Exception in thread "main" java.lang.RuntimeException: org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown.

Postby forum_admin » Fri May 25, 2018 12:48 am

avirani@host:~$ hive
2018-05-25 00:42:00,914 WARN [main] conf.HiveConf: HiveConf of name hive.custom-extensions.root does not exist
log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.

Logging initialized using configuration in file:/etc/hive/2.6.2.0-205/0/hive-log4j.properties
Exception in thread "main" java.lang.RuntimeException: org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown. Application application_1527208848857_0001 failed 2 times due to AM Container for appattempt_1527208848857_0001_000002 exited with exitCode: -1000
For more detailed output, check the application tracking page: http://host8088/cluster/app/application ... 48857_0001 Then click on links to logs of each attempt.
Diagnostics: Application application_1527208848857_0001 initialization failed (exitCode=255) with output: main : command provided 0
main : run as user is avirani
main : requested yarn user is avirani
User avirani not found

Failing this attempt. Failing the application.
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:560)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:681)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.hadoop.util.RunJar.run(RunJar.java:233)
at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
Caused by: org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown. Application application_1527208848857_0001 failed 2 times due to AM Container for appattempt_1527208848857_0001_000002 exited with exitCode: -1000
For more detailed output, check the application tracking page: http://host:8088/cluster/app/applicatio ... 48857_0001 Then click on links to logs of each attempt.
Diagnostics: Application application_1527208848857_0001 initialization failed (exitCode=255) with output: main : command provided 0
main : run as user is avirani
main : requested yarn user is avirani
User avirani not found

Failing this attempt. Failing the application.
at org.apache.tez.client.TezClient.waitTillReady(TezClient.java:699)
at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:218)
at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:116)
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:557)
... 8 more




Return to “Hadoop and Big Data”

Who is online

Users browsing this forum: No registered users and 0 guests