Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 31295173B3 for ; Thu, 16 Oct 2014 11:16:34 +0000 (UTC) Received: (qmail 38472 invoked by uid 500); 16 Oct 2014 11:16:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 38420 invoked by uid 500); 16 Oct 2014 11:16:34 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 38407 invoked by uid 99); 16 Oct 2014 11:16:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2014 11:16:33 +0000 Date: Thu, 16 Oct 2014 11:16:33 +0000 (UTC) From: "Matteo Bertozzi (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12161) Add support for grant/revoke on namespaces in AccessControlClient 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/HBASE-12161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14173627#comment-14173627 ] Matteo Bertozzi commented on HBASE-12161: ----------------------------------------- I was testing the patch before committing it, but sometimes fails with: {noformat} testAccessControlClientGrantRevokeOnNamespace(org.apache.hadoop.hbase.security.access.TestAccessController) Time elapsed: 1.544 sec <<< FAILURE! java.lang.AssertionError: Expected action to pass for user 'testNS' but was denied at org.junit.Assert.fail(Assert.java:88) at org.apache.hadoop.hbase.security.access.SecureTestUtil.verifyAllowed(SecureTestUtil.java:158) at org.apache.hadoop.hbase.security.access.SecureTestUtil.verifyAllowed(SecureTestUtil.java:165) at org.apache.hadoop.hbase.security.access.TestAccessController.testAccessControlClientGrantRevokeOnNamespace(TestAccessController.java:2135) {noformat} the problem is that the grant/revoke was not applied yet. a simple Thread.sleep() minimize the problem, but maybe you can add a better check > Add support for grant/revoke on namespaces in AccessControlClient > ----------------------------------------------------------------- > > Key: HBASE-12161 > URL: https://issues.apache.org/jira/browse/HBASE-12161 > Project: HBase > Issue Type: Improvement > Reporter: Srikanth Srungarapu > Assignee: Srikanth Srungarapu > Priority: Minor > Fix For: 2.0.0, 0.98.8, 0.99.2 > > Attachments: HBASE-12161_0.98.patch, HBASE-12161_master.patch, HBASE-12161_master_v2.patch, HBASE-12161_v3.patch > > > As per the description. -- This message was sent by Atlassian JIRA (v6.3.4#6332)