You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/06/08 23:15:02 UTC
[jira] [Commented] (HBASE-10834) Better error messaging on issuing
grant commands in non-authz mode
[ https://issues.apache.org/jira/browse/HBASE-10834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14021337#comment-14021337 ]
Andrew Purtell commented on HBASE-10834:
----------------------------------------
"authz" is a shorthand security heads use and "non-athz" isn't a word. Fix that and this patch would be fine.
> Better error messaging on issuing grant commands in non-authz mode
> ------------------------------------------------------------------
>
> Key: HBASE-10834
> URL: https://issues.apache.org/jira/browse/HBASE-10834
> Project: HBase
> Issue Type: Bug
> Components: shell
> Affects Versions: 0.94.17
> Reporter: Srikanth Srungarapu
> Assignee: Srikanth Srungarapu
> Priority: Trivial
> Attachments: HBASE-10834.patch
>
>
> Running the below sequence of steps should give a better error messaging rather than "table not found" error.
> hbase(main):013:0> create "test", {NAME=>'f1'}
> gr0 row(s) in 6.1320 seconds
> hbase(main):014:0> disable "test"
> drop "test"
> 0 row(s) in 10.2100 seconds
> hbase(main):015:0> drop "test"
> 0 row(s) in 1.0500 seconds
> hbase(main):016:0> create "test", {NAME=>'f1'}
> 0 row(s) in 1.0510 seconds
> hbase(main):017:0> grant "systest", "RWXCA", "test"
> ERROR: Unknown table systest!
> Instead of ERROR: Unknown table systest!, hbase should give out a warning like "Command not supported in non-authz mode(as acl table is only created if authz is turned on)"
--
This message was sent by Atlassian JIRA
(v6.2#6252)