HADOOP-15455. Incorrect debug message in KMSACL#hasAccess. Contributed by Yuen-Kuei Hsueh.

This commit is contained in:
Wei-Chiu Chuang 2018-05-28 17:32:32 -07:00
parent 8fdc993a99
commit 438ef4951a

View File

@ -247,9 +247,9 @@ public boolean hasAccess(Type type, UserGroupInformation ugi) {
if (blacklist == null) {
LOG.debug("No blacklist for {}", type.toString());
} else if (access) {
LOG.debug("user is in {}" , blacklist.getAclString());
} else {
LOG.debug("user is not in {}" , blacklist.getAclString());
} else {
LOG.debug("user is in {}" , blacklist.getAclString());
}
}
}