HADOOP-16067. Incorrect Format Debug Statement KMSACLs. Contributed by Charan Hebri.

This commit is contained in:
Márton Elek 2019-02-28 12:15:42 +01:00
parent 538bb4880d
commit 84c4966a5a
No known key found for this signature in database
GPG Key ID: D51EA8F00EE79B28

View File

@ -311,7 +311,7 @@ private boolean checkKeyAccess(Map<KeyOpType, AccessControlList> keyAcl,
return false; return false;
} else { } else {
if (LOG.isDebugEnabled()) { if (LOG.isDebugEnabled()) {
LOG.debug("Checking user [{}] for: {}: {}" + ugi.getShortUserName(), LOG.debug("Checking user [{}] for: {}: {}", ugi.getShortUserName(),
opType.toString(), acl.getAclString()); opType.toString(), acl.getAclString());
} }
return acl.isUserAllowed(ugi); return acl.isUserAllowed(ugi);