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

Jason Lowe commented on YARN-5382:
----------------------------------

bq. Will update the patch to include auditing of killing of active apps only. 

Actually I think we should go with Jian's suggestion.  Auditing active apps 
could still generate duplicate events if the event dispatch is delayed, and 
Jian's suggestion means we'll only log it once when the app transitions from 
active to starting the kill processing.  We will need to enhance the kill event 
to include the requesting user and remote IP address so it can be audit logged 
properly within the RMAppImpl transition.

> RM does not audit log kill request for active applications
> ----------------------------------------------------------
>
>                 Key: YARN-5382
>                 URL: https://issues.apache.org/jira/browse/YARN-5382
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.7.2
>            Reporter: Jason Lowe
>            Assignee: Vrushali C
>         Attachments: YARN-5382-branch-2.7.01.patch, 
> YARN-5382-branch-2.7.02.patch
>
>
> ClientRMService will audit a kill request but only if it either fails to 
> issue the kill or if the kill is sent to an already finished application.  It 
> does not create a log entry when the application is active which is arguably 
> the most important case to audit.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to