hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5382) RM does not audit log kill request for active applications
Date Tue, 02 Aug 2016 14:35:20 GMT

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

Jason Lowe commented on YARN-5382:

bq. Does user expect audit logging both before killing and after killing successfully ?

Ideally from the ClientRMService perspective it should be logged when the request comes in,
just like web servers audit log requests they serve.  Unfortunately the polling-for-killed
logic makes this messy to implement cleanly, so logging once when the app is killed would
be the next best option, IMHO.

Sorry I missed the fact that the success logging in ClientRMService was still there.  At some
point it was removed, but I missed it didn't stay that way.   I also missed that AttemptKilledTransition
and AppKilledTransition can both be triggered for an app being killed.

> 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, YARN-5382-branch-2.7.03.patch,
YARN-5382-branch-2.7.04.patch, YARN-5382-branch-2.7.05.patch, YARN-5382-branch-2.7.09.patch,
YARN-5382.06.patch, YARN-5382.07.patch, YARN-5382.08.patch, YARN-5382.09.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

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message