Support Questions

Find answers, ask questions, and share your expertise

Tez session is already shutdown failed 2 times due to AM Container exitCode: 1

avatar
Expert Contributor

Hi Team,

I have received an error when i started hive from command prompt." org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown. Application application_1452243782005_0292 failed 2 times due to AM Container for appattempt_1452243782005_0292_000002 exited with exitCode: 1

pfa an error screenshot.hive-error.png

11 REPLIES 11

avatar
Master Mentor

@Nilesh

Your application crashed or died.

yarn log -applicationid appid

The above command will give you more idea

avatar
Master Mentor

yarn log -applicationid application_1452243782005_0292

avatar
Expert Contributor

@Neeraj

Showing an error: could not find or load main class log

avatar
Master Mentor

@Nilesh

It's

yarn logs -applicationid appid

avatar
Master Mentor

@Nilesh whats the output of yarn logs -applicationid application_1452243782005_0292 ?

avatar
Master Mentor

@Nilesh what class is it reporting thats missing?

avatar
Expert Contributor

@Artem Ervits

Error has been resolved by changing execution engine to map reduce but,when i put it back to tez facing the same issue. Does tez require any tuning or extra configuration to be add in hive-site.xml to run hive with tez?

avatar
Master Mentor

avatar
Expert Contributor

@Nilesh: I have the exact same problem. How did you solve this?