Kryvenko Igor created HIVE-18990:
------------------------------------

             Summary: Hive doesn't close Tez session properly
                 Key: HIVE-18990
                 URL: https://issues.apache.org/jira/browse/HIVE-18990
             Project: Hive
          Issue Type: Bug
            Reporter: Kryvenko Igor
            Assignee: Kryvenko Igor


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.






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to