hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10621) Unable to grant user permission to namespace
Date Fri, 28 Feb 2014 01:15:36 GMT

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

Hudson commented on HBASE-10621:
--------------------------------

FAILURE: Integrated in HBase-TRUNK-on-Hadoop-1.1 #101 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-1.1/101/])
HBASE-10621 Unable to grant user permission to namespace (tedyu: rev 1572421)
* /hbase/trunk/hbase-shell/src/main/ruby/hbase/security.rb


> Unable to grant user permission to namespace
> --------------------------------------------
>
>                 Key: HBASE-10621
>                 URL: https://issues.apache.org/jira/browse/HBASE-10621
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.98.0
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 0.98.1, 0.99.0
>
>         Attachments: 10621-v1.txt, 10621-v2.txt
>
>
> In a secure cluster, I tried to grant user 'hrt_1' permission to namespace X
> {code}
> hbase(main):002:0> grant 'hrt_1', 'W', '@X'
> ERROR: no method 'grant' for arguments (org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingStub,org.jruby.RubyString,org.jruby.java.proxies.ArrayJavaProxy,org.jruby.java.proxies.ArrayJavaProxy)
on Java::OrgApacheHadoopHbaseProtobuf::ProtobufUtil
>   available overloads:
>     (org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface,java.lang.String,java.lang.String,org.apache.hadoop.hbase.security.access.Permission.Action[])
>     (org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface,java.lang.String,org.apache.hadoop.hbase.TableName,byte[],byte[],org.apache.hadoop.hbase.security.access.Permission.Action[])
>     (org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface,java.lang.String,org.apache.hadoop.hbase.security.access.Permission.Action[])
> 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}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message