[ 
https://issues.apache.org/jira/browse/HBASE-15297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15487223#comment-15487223
 ] 

Hudson commented on HBASE-15297:
--------------------------------

SUCCESS: Integrated in Jenkins build HBase-1.3-JDK8 #15 (See 
[https://builds.apache.org/job/HBase-1.3-JDK8/15/])
HBASE-15297 Correct handling of namespace existence checks in shell. (busbey: 
rev 05d8b248f81440d9974613b1a6e5abaa4cbc2f16)
* (edit) 
hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java
* (edit) hbase-shell/src/main/ruby/hbase/security.rb


> 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
>
>         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)

Reply via email to