[jira] [Commented] (YARN-3692) Allow REST API to set a user generated message when killing an application

2015-05-21 Thread Rajat Jain (JIRA)

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

Rajat Jain commented on YARN-3692:
--

Yes. The user should be able to set a diagnostic message while killing the job. 
Usually this helps in workflow management in a multi-tenant environment when 
the workflow scheduler (or the hadoop admin) wants to kill a job - and let the 
user know the reason why the job was killed. Killing the job by setting a 
diagnostic message is a very good solution for that. Ideally, we can set the 
diagnostic message on all such interface:

  * yarn kill -applicationId ... -diagnosticMessage "some message added by 
admin/workflow"
  * REST API
{ 'state': 'KILLED', 'diagnosticMessage': 'some message added by 
admin/workflow'}



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


[jira] [Created] (YARN-3692) Allow REST API to set a user generated message when killing an application

2015-05-20 Thread Rajat Jain (JIRA)
Rajat Jain created YARN-3692:


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


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)