hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6232) HBase security commands should have a better error when used in insecure mode
Date Mon, 18 Jun 2012 17:47:42 GMT

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

ramkrishna.s.vasudevan commented on HBASE-6232:
-----------------------------------------------

@Stephen
Once you submit a patch and its get committed, then we can add you as a contributor.  From
then you can assign any issue to your name.  This is how people are getting added to the contributor
list.
So feel free to go ahead and provide a patch :). 
                
> HBase security commands should have a better error when used in insecure mode
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-6232
>                 URL: https://issues.apache.org/jira/browse/HBASE-6232
>             Project: HBase
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 0.92.1
>            Reporter: Stephen Chu
>
> I'm playing with the hbase shell's security commands and see the following.
> {noformat}
> hbase(main):002:0> grant 'schu', 'R', 'testtb', 'cf'
> ERROR: Unknown table schu!
> 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'
> hbase(main):003:0> 
> {noformat}
> {noformat}
> hbase(main):012:0> revoke 'schu', 'testtb', 'cf'
> ERROR: Unknown table schu!
> Here is some help for this command:
> Revoke a user's access rights.
> Syntax : revoke <user> <table> <column family> <column qualifier>
> For example:
>     hbase> revoke 'bobsmith', 't1', 'f1', 'col1'
> hbase(main):013:0> 
> {noformat}
> {noformat}
> hbase(main):013:0> user_permission 'testtb'
> User                                 Table,Family,Qualifier:Permission              
                                                          
> ERROR: Unknown table testtb!
> Here is some help for this command:
> Show all permissions for the particular user.
> Syntax : user_permission <table>
> For example:
>     hbase> user_permission
>     hbase> user_permission 'table1'
> {noformat}
> Seems it just returns ERROR: Unknown table <first argument>
> schu is the user, not the table.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message