Details
Description
In HBase shell, specify a non-existing namespace in "grant" command, such as
hbase(main):001:0> grant 'a1', 'R', '@aaa' <--- there is no namespace called "aaa"
The error message issued is not correct
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
Attachments
Attachments
Issue Links
- is duplicated by
-
HBASE-18531 incorrect error msg
- Resolved
- relates to
-
HBASE-14254 Wrong error message when throwing NamespaceNotFoundException in shell
- Closed