[ https://issues.apache.org/jira/browse/YARN-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13725802#comment-13725802 ]
Vinod Kumar Vavilapalli commented on YARN-107: ---------------------------------------------- Clearly, we have two options, throw an exception if an app is already finished or return quietly. It is indeed useful to say that an application finished for CLI, but the client itself can do that. ApplicationCLI can check the state and print a different message. If it is via API, anybody can do a state check if need be. In that light, I am not strongly opinionated eitherways, but we can keep forceKillApplication just one of a forced operations which usually return quietly. (Like rm -f). > ClientRMService.forceKillApplication() should handle the non-RUNNING > applications properly > ------------------------------------------------------------------------------------------ > > Key: YARN-107 > URL: https://issues.apache.org/jira/browse/YARN-107 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager > Affects Versions: 2.0.0-alpha > Reporter: Devaraj K > Assignee: Xuan Gong > Attachments: YARN-107.1.patch, YARN-107.2.patch, YARN-107.3.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