Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2FECC200B95 for ; Tue, 13 Sep 2016 01:36:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2E826160AD7; Mon, 12 Sep 2016 23:36:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A6156160AB8 for ; Tue, 13 Sep 2016 01:36:21 +0200 (CEST) Received: (qmail 86526 invoked by uid 500); 12 Sep 2016 23:36:20 -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 86488 invoked by uid 99); 12 Sep 2016 23:36:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2016 23:36:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 817E12C1B80 for ; Mon, 12 Sep 2016 23:36:20 +0000 (UTC) Date: Mon, 12 Sep 2016 23:36:20 +0000 (UTC) From: "Sean Busbey (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-15297) error message is wrong when a wrong namspace is specified in grant in hbase shell MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 12 Sep 2016 23:36:22 -0000 [ https://issues.apache.org/jira/browse/HBASE-15297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Busbey updated HBASE-15297: -------------------------------- Fix Version/s: (was: 1.2.0) 1.2.4 1.4.0 1.3.0 > error message is wrong when a wrong namspace is specified in grant in hbase shell > --------------------------------------------------------------------------------- > > Key: HBASE-15297 > URL: https://issues.apache.org/jira/browse/HBASE-15297 > Project: HBase > Issue Type: Bug > Components: shell > Affects Versions: 2.0.0, 1.2.0 > Reporter: Xiang Li > Assignee: Umesh Agashe > Priority: Minor > Fix For: 2.0.0, 1.3.0, 1.4.0, 1.2.4 > > Attachments: HBASE-15297.v1.patch > > > In HBase shell, specify a non-existing namespace in "grant" command, such as > {code} > hbase(main):001:0> grant 'a1', 'R', '@aaa' <--- there is no namespace called "aaa" > {code} > The error message issued is not correct > {code} > ERROR: Unknown namespace a1! > {code} > a1 is the user name, not the namespace. > The following error message would be better > {code} > ERROR: Unknown namespace aaa! > {code} > or > {code} > Can't find a namespace: aaa > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)