[ https://issues.apache.org/jira/browse/YARN-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705515#comment-13705515 ]
Xuan Gong commented on YARN-763: -------------------------------- Oh, You are right. If we want to let CallBackThread to call asyncClient.stop(), we might need to add this part of code inside the CallBackThread.run(). In that case, we may need to create a new test class, such as mockAMRMClientAsync, and re-write CallBackThread.run(). Any other ideas ? > 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, YARN-763.6.patch, YARN-763.7.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