[ https://issues.apache.org/jira/browse/HIVE-18990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16498939#comment-16498939 ]
Igor Kryvenko commented on HIVE-18990: -------------------------------------- [~jdere] Hi. Can you provide the query to reproduce it? I'll investigate it > 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: Igor Kryvenko > Assignee: Igor Kryvenko > Priority: Major > Fix For: 3.0.0 > > Attachments: HIVE-18990.01.patch, HIVE-18990.02.patch, > HIVE-18990.03.patch > > > 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)