[
https://issues.apache.org/jira/browse/HADOOP-15455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Akira Ajisaka reassigned HADOOP-15455:
--------------------------------------
Assignee: Yuen-Kuei Hsueh
> Incorrect debug message in KMSACL#hasAccess
> -------------------------------------------
>
> Key: HADOOP-15455
> URL: https://issues.apache.org/jira/browse/HADOOP-15455
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Wei-Chiu Chuang
> Assignee: Yuen-Kuei Hsueh
> Priority: Trivial
>
> If the user is in the blacklist "foo bar", it prints "user is not in foo bar".
> else, it prints "user is in foo bar"
> {code:title=KMSACLs#hasAccess()}
> if (access) {
> AccessControlList blacklist = blacklistedAcls.get(type);
> access = (blacklist == null) || !blacklist.isUserInList(ugi);
> if (LOG.isDebugEnabled()) {
> 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());
> }
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]