Support Questions
Find answers, ask questions, and share your expertise

hive command shell not opening up with tez

hive command shell not opening up with tez

Explorer

previously i got a container issue, now i resovled that issue by creating a folder but now i am getting a different error saying that the tez session is not running.hive2.png

2 REPLIES 2
Highlighted

Re: hive command shell not opening up with tez

Expert Contributor

Can you run hive with debug options and share log?

-hiveconf hive.root.logger=ALL,console -hiveconf mapred.map.child.log.level =DEBUG

Highlighted

Re: hive command shell not opening up with tez

Mentor

@pk reddy

When you encounter Hive Cli fails to start with the message "TezSession has already shutdown."

1. Open Ambari.
2. Go to TEZ / Configs / Advanced tez-site.  or use fileter property "tez.history.logging.service.class"
3. Locate the configuration " tez.history.logging.service.class".
4. Replace the value 
"org.apache.tez.dag.history.logging.ats.ATSV15HistoryLoggingService" 
              with the new value: 
"org.apache.tez.dag.history.logging.ats.ATSHistoryLoggingService"

Then restart all the stale configs

Please revert