hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Badger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4756) Unnecessary wait in Node Status Updater during reboot
Date Mon, 21 Mar 2016 18:47:25 GMT

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

Eric Badger commented on YARN-4756:
-----------------------------------

[~eepayne], [~jlowe], [~kasha], can one of you review this patch when you are available? This
patch is a byproduct of test failures that were uncovered when fixing [YARN-4686]. Thanks.


> Unnecessary wait in Node Status Updater during reboot
> -----------------------------------------------------
>
>                 Key: YARN-4756
>                 URL: https://issues.apache.org/jira/browse/YARN-4756
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Eric Badger
>            Assignee: Eric Badger
>         Attachments: YARN-4756.001.patch, YARN-4756.002.patch
>
>
> The startStatusUpdater thread waits for the isStopped variable to be set to true, but
it is waiting for the next heartbeat. During a reboot, the next heartbeat will not come and
so the thread waits for a timeout. Instead, we should notify the thread to continue so that
it can check the isStopped variable and exit without having to wait for a timeout. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message