[
https://issues.apache.org/jira/browse/TEZ-3707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15994158#comment-15994158
]
Siddharth Seth commented on TEZ-3707:
-------------------------------------
+1
> TezSharedExecutor race condition in awaitTermination vs isTerminated.
> ---------------------------------------------------------------------
>
> Key: TEZ-3707
> URL: https://issues.apache.org/jira/browse/TEZ-3707
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Harish Jaiprakash
> Assignee: Harish Jaiprakash
> Attachments: TEZ-3707.01.patch
>
>
> awaitTermination finishes if all the futures are resolved. isTerminated
> returns true if futures is empty. future done is invoked after the future is
> resolve, which can lead to awaitTermination finishing but isTerminated is
> false until done is invoked.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)