YARN-10879. Incorrect WARN text in ACL check for application tag based placement (#5231)

Change-Id: Id892e38fe4c834b1743a0df2f0a40146d3d5a878
This commit is contained in:
susheel-gupta 2022-12-22 21:50:53 +05:30 committed by GitHub
parent 15b52fb6a4
commit e6056d128a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1007,7 +1007,7 @@ protected String getUserNameForPlacement(final String user,
.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);
} }