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

Haibo Chen commented on YARN-8864:
----------------------------------

Thanks [~wilfreds] for the patch!  I believe the user in startContainer request 
handling is also incorrect. Let's fix that too + the checkstyle issue.

> NM incorrectly logs container user as the user who sent a stop container 
> request in its audit log
> -------------------------------------------------------------------------------------------------
>
>                 Key: YARN-8864
>                 URL: https://issues.apache.org/jira/browse/YARN-8864
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 3.2.0
>            Reporter: Haibo Chen
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>         Attachments: YARN-8864.001.patch
>
>
> As in  ContainerManagerImpl.java
> {code:java}
> protected void stopContainerInternal(ContainerId containerID)
>       throws YarnException, IOException { 
>     ...           
>     NMAuditLogger.logSuccess(container.getUser(), 
> AuditConstants.STOP_CONTAINER,
>            "ContainerManageImpl", 
> containerID.getApplicationAttemptId().getApplicationId(), containerID);
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to