hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuan Gong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-763) AMRMClientAsync should stop heartbeating after receiving shutdown from RM
Date Tue, 09 Jul 2013 00:43:50 GMT

    [ https://issues.apache.org/jira/browse/YARN-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13702693#comment-13702693

Xuan Gong commented on YARN-763:

bq.On a different note, serviceStop() should not call join() on the heartbeater thread. While
serviceStop() blocks on the join() it may be holding onto application locks in its call tree.
The callback thread might be waiting on those locks as it upcalls to the app code. Resulting
in a deadlock. However, we should ensure the JVM is not hung because of any issue on this
thread. So we should mark the callback thread as a daemon so that the JVM exits even if that
thread is running.

If we set the callback as daemon thread, calling join() on the heartBeater thread will be
> AMRMClientAsync should stop heartbeating after receiving shutdown from RM
> -------------------------------------------------------------------------
>                 Key: YARN-763
>                 URL: https://issues.apache.org/jira/browse/YARN-763
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Bikas Saha
>            Assignee: Xuan Gong
>         Attachments: YARN-763.1.patch, YARN-763.2.patch

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message