@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