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

Sandy Ryza commented on YARN-763:
---------------------------------

Can we move all of this into the switch statement, replace break with return, 
and get rid of the stop variable?  Unless the thinking is that returning from a 
method in the middle is bad, I think this would be a lot cleaner.
                
> 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
>
>


--
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

Reply via email to