[ 
https://issues.apache.org/jira/browse/HIVE-16820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16044822#comment-16044822
 ] 

Siddharth Seth commented on HIVE-16820:
---------------------------------------

Sorry for the delay.

- Should isShutdown be volatile for visibility outside of the dagLock 
synchronized block?
- Think it is possible for two invocations of tryKillDag. submitDag sets 
this.dagClient. shutdown sees this, and invokes tryKillDag. the submit thread 
starts up again and sees isShutdown=true.

Otherwise, looks good.

> TezTask may not shut down correctly before submit
> -------------------------------------------------
>
>                 Key: HIVE-16820
>                 URL: https://issues.apache.org/jira/browse/HIVE-16820
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Visakh Nair
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-16820.patch
>
>
> The query will run and only fail at the very end when the driver checks its 
> own shutdown flag.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to