From common-issues-return-152429-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Mon May 14 07:57:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 607B8180627 for ; Mon, 14 May 2018 07:57:04 +0200 (CEST) Received: (qmail 28168 invoked by uid 500); 14 May 2018 05:57:03 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 28157 invoked by uid 99); 14 May 2018 05:57:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2018 05:57:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9ACCE1A39AE for ; Mon, 14 May 2018 05:57:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -102.311 X-Spam-Level: X-Spam-Status: No, score=-102.311 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id LnjYQSJK5O0f for ; Mon, 14 May 2018 05:57:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 7A8955F366 for ; Mon, 14 May 2018 05:57:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9A85BE0C50 for ; Mon, 14 May 2018 05:57:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 29EEC2179F for ; Mon, 14 May 2018 05:57:00 +0000 (UTC) Date: Mon, 14 May 2018 05:57:00 +0000 (UTC) From: "Yuen-Kuei Hsueh (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-15455) Incorrect debug message in KMSACL#hasAccess MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-15455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuen-Kuei Hsueh updated HADOOP-15455: ------------------------------------- Affects Version/s: (was: 3.1.0) 2.9.0 > 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 > > 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