Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Hive doesn't close Tez session properly if AM isn't ready for accepting DAG.
STR
This can be easily reproduced using the following steps:
1) configure cluster on Tez;
2) create file test.hql
cat ~/test.hql
show databases;
3) run the job
$ hive --hiveconf hive.root.logger=DEBUG,console --hiveconf hive.execution.engine=tez -f ~/test.hql
If we login into Yarn UI, we will see that jobs status is failed even it finished successfully.
It happens because hive creates tez session by default. And if query finished very quickly, we can't close tez session properly because AM isn't ready for accepting any requests.
Attachments
Attachments
Issue Links
- is related to
-
HIVE-19777 NPE in TezSessionState
- Closed