Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1A84DC3A0 for ; Fri, 14 Nov 2014 09:31:35 +0000 (UTC) Received: (qmail 74358 invoked by uid 500); 14 Nov 2014 09:31:34 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 74197 invoked by uid 500); 14 Nov 2014 09:31:34 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 74070 invoked by uid 99); 14 Nov 2014 09:31:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Nov 2014 09:31:34 +0000 Date: Fri, 14 Nov 2014 09:31:34 +0000 (UTC) From: "Srikanth Srungarapu (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-12474) Incorrect handling of default namespace in user_permission command. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Srikanth Srungarapu created HBASE-12474: ------------------------------------------- Summary: Incorrect handling of default namespace in user_permission command. Key: HBASE-12474 URL: https://issues.apache.org/jira/browse/HBASE-12474 Project: HBase Issue Type: Bug Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Minor The command user_permission returns 0 rows if we specify default prefix. It works fine if we drop the prefix. This is because pattern matching of listTables doesn't take into account that nameAsString method doesn't include 'default' in it's output for the relevant tables. This method listTables is also used by delete, disable and enable commands when invoked with regular expression. Credits to [~mbertozzi] for coming up with this corner case. -- This message was sent by Atlassian JIRA (v6.3.4#6332)