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

Jason Lowe commented on YARN-3692:
----------------------------------

We cannot change the signature of the existing killApplication method or we 
break backwards compatibility.  However as [~Naganarasimha] mentioned we can 
simply add another method that takes the two arguments instead of one.  Then we 
can support both the old method for backwards compatibility and the new method 
which allows a user-provided diagnostic.  I'm not sure we should deprecate the 
old method just yet.  We can still generate a useful diagnostic message 
automatically on the RM side when one is not provided, such as which user from 
which host issued the kill command.

> Allow REST API to set a user generated message when killing an application
> --------------------------------------------------------------------------
>
>                 Key: YARN-3692
>                 URL: https://issues.apache.org/jira/browse/YARN-3692
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Rajat Jain
>            Assignee: Rohith Sharma K S
>
> Currently YARN's REST API supports killing an application without setting a 
> diagnostic message. It would be good to provide that support.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to