YARN-10879. Incorrect WARN text in ACL check for application tag based placement (#5231)
Change-Id: Id892e38fe4c834b1743a0df2f0a40146d3d5a878
This commit is contained in:
parent
15b52fb6a4
commit
e6056d128a
|
@ -1007,7 +1007,7 @@ public class RMAppManager implements EventHandler<RMAppManagerEvent>,
|
||||||
.checkAccess(callerUGI, QueueACL.SUBMIT_APPLICATIONS, queue)) {
|
.checkAccess(callerUGI, QueueACL.SUBMIT_APPLICATIONS, queue)) {
|
||||||
usernameUsedForPlacement = userNameFromAppTag;
|
usernameUsedForPlacement = userNameFromAppTag;
|
||||||
} else {
|
} else {
|
||||||
LOG.warn("User '{}' from application tag does not have access to " +
|
LOG.warn("Proxy user '{}' from application tag does not have access to " +
|
||||||
" queue '{}'. " + "The placement is done for user '{}'",
|
" queue '{}'. " + "The placement is done for user '{}'",
|
||||||
userNameFromAppTag, queue, user);
|
userNameFromAppTag, queue, user);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue