hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "li xiang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-15297) error message is wrong when a non-existing namspace is specified in grant in hbase shell
Date Sat, 20 Feb 2016 04:16:18 GMT

     [ https://issues.apache.org/jira/browse/HBASE-15297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

li xiang updated HBASE-15297:
-----------------------------
    Description: 
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
{output}
ERROR: Unknown namespace a1!
{output}
a1 is the user name, not the namespace.

The following error message would be better:
ERROR: Unknown namespace aaa!
or
Can't find a namespace: aaa

  was:
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:
ERROR: Unknown namespace a1!

a1 is the user name, not the namespace.

The following error message would be better:
ERROR: Unknown namespace aaa!
or
Can't find a namespace: aaa


> error message is wrong when a non-existing 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: 1.2.0
>            Reporter: li xiang
>            Priority: Minor
>
> 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
> {output}
> ERROR: Unknown namespace a1!
> {output}
> a1 is the user name, not the namespace.
> The following error message would be better:
> ERROR: Unknown namespace aaa!
> or
> Can't find a namespace: aaa



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message