[ 
https://issues.apache.org/jira/browse/HADOOP-15455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei-Chiu Chuang updated HADOOP-15455:
-------------------------------------
    Attachment: HADOOP-15455.001.patch

> Incorrect debug message in KMSACL#hasAccess
> -------------------------------------------
>
>                 Key: HADOOP-15455
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15455
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.9.0
>            Reporter: Wei-Chiu Chuang
>            Assignee: Yuen-Kuei Hsueh
>            Priority: Trivial
>         Attachments: HADOOP-15455.001.patch
>
>
> 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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to