hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15455) Incorrect debug message in KMSACL#hasAccess
Date Tue, 29 May 2018 00:56:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-15455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492984#comment-16492984
] 

Hudson commented on HADOOP-15455:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14306 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14306/])
HADOOP-15455. Incorrect debug message in KMSACL#hasAccess. Contributed (weichiu: rev 438ef4951a38171f193eaf2631da31d0f4bc3c62)
* (edit) hadoop-common-project/hadoop-kms/src/main/java/org/apache/hadoop/crypto/key/kms/server/KMSACLs.java


> 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
>             Fix For: 3.2.0
>
>         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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message