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 1EC4C113AC for ; Tue, 12 Aug 2014 20:48:16 +0000 (UTC) Received: (qmail 56616 invoked by uid 500); 12 Aug 2014 20:48:15 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 56509 invoked by uid 500); 12 Aug 2014 20:48: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 56203 invoked by uid 99); 12 Aug 2014 20:48:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2014 20:48:15 +0000 Date: Tue, 12 Aug 2014 20:48:15 +0000 (UTC) From: "Sean Busbey (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-5841) hbase shell translate_hbase_exceptions() rely on table name as first argument 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-5841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Busbey resolved HBASE-5841. -------------------------------- Resolution: Duplicate Fixed by HBASE-10533 > hbase shell translate_hbase_exceptions() rely on table name as first argument > ----------------------------------------------------------------------------- > > Key: HBASE-5841 > URL: https://issues.apache.org/jira/browse/HBASE-5841 > Project: HBase > Issue Type: Bug > Components: shell > Affects Versions: 0.92.1, 0.94.0, 0.95.2 > Reporter: Matteo Bertozzi > Labels: shell > > shell/commands.rb translate_hbase_exceptions() rely on the fact that the table name is the first argument. > This is true for many of the commands but for example: > - grant(user, rights, table_name, family=nil, qualifier=nil > - revoke(user, table_name, family=nil, qualifier=nil) > has user as first argument, so if you specify a table that doesn't exists, or where you don't have access you end up with a message like "Unknown table {username}" and so on... -- This message was sent by Atlassian JIRA (v6.2#6252)