[
https://issues.apache.org/jira/browse/TEZ-3707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Harish Jaiprakash reassigned TEZ-3707:
--------------------------------------
Assignee: Harish Jaiprakash
> 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)