YARN-10879. Incorrect WARN text in ACL check for application tag based placement (#5231)
Change-Id: Id892e38fe4c834b1743a0df2f0a40146d3d5a878
This commit is contained in:
parent
cda1d45a61
commit
f9fac84f43
|
@ -955,7 +955,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