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 7D96010D4F for ; Wed, 26 Mar 2014 00:34:23 +0000 (UTC) Received: (qmail 94553 invoked by uid 500); 26 Mar 2014 00:34:16 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 94266 invoked by uid 500); 26 Mar 2014 00:34:15 -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 94139 invoked by uid 99); 26 Mar 2014 00:34:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2014 00:34:14 +0000 Date: Wed, 26 Mar 2014 00:34:14 +0000 (UTC) From: "Srikanth Srungarapu (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-10834) Better error messaging on issuing grant commands in non-authz mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Srikanth Srungarapu created HBASE-10834: ------------------------------------------- Summary: Better error messaging on issuing grant commands in non-authz mode Key: HBASE-10834 URL: https://issues.apache.org/jira/browse/HBASE-10834 Project: HBase Issue Type: Bug Components: shell Affects Versions: 0.94.17 Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Trivial Running the below sequence of steps should give a better error messaging rather than "table not found" error. hbase(main):013:0> create "test", {NAME=>'f1'} gr0 row(s) in 6.1320 seconds hbase(main):014:0> disable "test" drop "test" 0 row(s) in 10.2100 seconds hbase(main):015:0> drop "test" 0 row(s) in 1.0500 seconds hbase(main):016:0> create "test", {NAME=>'f1'} 0 row(s) in 1.0510 seconds hbase(main):017:0> grant "systest", "RWXCA", "test" ERROR: Unknown table systest! Instead of ERROR: Unknown table systest!, hbase should give out a warning like "Command not supported in non-authz mode(as acl table is only created if authz is turned on)" -- This message was sent by Atlassian JIRA (v6.2#6252)