You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Íñigo Goiri (Jira)" <ji...@apache.org> on 2020/11/24 19:10:00 UTC

[jira] [Commented] (YARN-10468) TestNodeStatusUpdater does not handle early failure in threads

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

Íñigo Goiri commented on YARN-10468:
------------------------------------

Thanks [~ahussein] for the fix, merged the PR to trunk.

> TestNodeStatusUpdater does not handle early failure in threads
> --------------------------------------------------------------
>
>                 Key: YARN-10468
>                 URL: https://issues.apache.org/jira/browse/YARN-10468
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>            Reporter: Ahmed Hussein
>            Assignee: Ahmed Hussein
>            Priority: Major
>
> While investigating HADOOP-17314, I found that the 
> * TestNodeStatusUpdater#testNMRegistration() will continue running {{while (heartBeatID <= 3 && waitCount++ != 200) {}} even though the nm thread could already be dead.  the unit should detect that the nm has died and terminates sooner to release resources for other tests.
> * TestNodeStatusUpdater#testNMRMConnectionConf(). Same problem as described above. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org