[ https://issues.apache.org/jira/browse/YARN-3692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15497275#comment-15497275
]
Naganarasimha G R commented on YARN-3692:
-----------------------------------------
Hi [~rohithsharma], Thanks for the update, overall patch looks fine, i got to test it too
this time.
few nits :
# {{Kill application application_1474052822592_0004 received from dr.who (auth:SIMPLE)Test
Kill 1}} is the diagnostic message which was received, which does not seem to be a proper
sentence. How about {{Application "application_1474052822592_0004" was killed by dr.who with
diagnostic message: Test Kill 1}}
# check style issue seems to be valid
# CLI support also needs to be given, i am fine with handling in a seperate jira
> 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
> Attachments: 0001-YARN-3692.patch, 0002-YARN-3692.patch, 0003-YARN-3692.patch,
0004-YARN-3692.patch, 0005-YARN-3692.1.patch, 0005-YARN-3692.patch
>
>
> Currently YARN's REST API supports killing an application without setting a diagnostic
message. It would be good to provide that support.
> *Use Case*
> 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'}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org
|