You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Haibo Chen (JIRA)" <ji...@apache.org> on 2018/10/10 00:08:00 UTC
[jira] [Updated] (YARN-8864) NM incorrectly logs container user as
the user who sent a stop container request in its audit log
[ https://issues.apache.org/jira/browse/YARN-8864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Haibo Chen updated YARN-8864:
-----------------------------
Description:
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}
was:
As in ContainerManagerImpl.java
protected void stopContainerInternal(ContainerId containerID)
throws YarnException, IOException {
...
NMAuditLogger.logSuccess(container.getUser(),
AuditConstants.STOP_CONTAINER, "ContainerManageImpl", containerID
.getApplicationAttemptId().getApplicationId(), containerID);
}
}
> 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
> Priority: Major
>
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org