hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10834) Better error messaging on issuing grant commands in non-authz mode
Date Wed, 30 Jul 2014 23:33:39 GMT

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

Hadoop QA commented on HBASE-10834:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12658772/HBASE-10834_v3.patch
  against trunk revision .
  ATTACHMENT ID: 12658772

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/10234//console

This message is automatically generated.

> 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, HBASE-10834_v2.patch, HBASE-10834_v3.patch
>
>
> Running the below sequence of steps should give a better error messaging rather than
"table not found" error. 
> {code}
> hbase(main):009:0> grant "test", "RWCXA"
> ERROR: Unknown table _acl_!
> Here is some help for this command:
> Grant users specific rights.
> Syntax : grant <user> <permissions> [<table> [<column family>
[<column qualifier>]]
> permissions is either zero or more letters from the set "RWXCA".
> READ('R'), WRITE('W'), EXEC('X'), CREATE('C'), ADMIN('A')
> For example:
>     hbase> grant 'bobsmith', 'RWXCA'
>     hbase> grant 'bobsmith', 'RW', 't1', 'f1', 'col1'
> {code}
> Instead of ERROR: Unknown table _acl_!, 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)

Mime
View raw message