[ https://issues.apache.org/jira/browse/YARN-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13703016#comment-13703016 ]
Jian He commented on YARN-763: ------------------------------ The test is only testing the heartbeat thread is cancelled after the SHUTDOWN is received. It might be the case that after the SHUTDOWN is received, still make more allocate calls (though unlikely from the code base) and then the thread is cancelled. I think we need a way to explicitly test no more allocate calls are made after SHUTDOWN is received as bikas said earlier. > 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, YARN-763.3.patch, > YARN-763.4.patch, YARN-763.5.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