Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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

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

@Nilesh

Your application crashed or died.

yarn log -applicationid appid

The above command will give you more idea

yarn log -applicationid application_1452243782005_0292

Contributor

@Neeraj

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

@Nilesh

It's

yarn logs -applicationid appid

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

Mentor

@Nilesh what class is it reporting thats missing?

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?

Mentor

Expert Contributor

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

Explorer

I have same problem, how did you solve it? also yarn leave no log information when I do

yarn log -applicationid application_1489695782031_0588 Error: Could not find or load main class log

Master Collaborator

The command to get YARN logs is:

yarn logs -applicationId <applicationId>
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.