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-10879) user_permission shell command on namespace doesn't work
Date Tue, 01 Apr 2014 19:08:19 GMT

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

Hudson commented on HBASE-10879:
--------------------------------

FAILURE: Integrated in HBase-0.98 #260 (See [https://builds.apache.org/job/HBase-0.98/260/])
HBASE-10879 user_permission shell command on namespace doesn't work (tedyu: rev 1583724)
* /hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java
* /hbase/branches/0.98/hbase-shell/src/main/ruby/hbase/security.rb


> user_permission shell command on namespace doesn't work
> -------------------------------------------------------
>
>                 Key: HBASE-10879
>                 URL: https://issues.apache.org/jira/browse/HBASE-10879
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 0.98.2, 0.96.3
>
>         Attachments: 10879-v1.txt, 10879-v2.txt
>
>
> Currently user_permission command on namespace, e.g.
> {code}
> user_permission '@ns'
> {code}
> would result in the following exception:
> {code}
> Exception `NameError' at /usr/lib/hbase/lib/ruby/hbase/security.rb:170 - no method 'getUserPermissions'
for arguments (org.apache.hadoop.hbase.protobuf.generated.          AccessControlProtos.AccessControlService.BlockingStub,org.jruby.java.proxies.ArrayJavaProxy)
on Java::OrgApacheHadoopHbaseProtobuf::ProtobufUtil
> ERROR: no method 'getUserPermissions' for arguments (org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingStub,org.jruby.java.
      proxies.ArrayJavaProxy) on Java::OrgApacheHadoopHbaseProtobuf::ProtobufUtil
> Backtrace: /usr/lib/hbase/lib/ruby/hbase/security.rb:170:in `user_permission'
>            /usr/lib/hbase/lib/ruby/shell/commands/user_permission.rb:39:in `command'
>            org/jruby/RubyKernel.java:2109:in `send'
>            /usr/lib/hbase/lib/ruby/shell/commands.rb:34:in `command_safe'
>            /usr/lib/hbase/lib/ruby/shell/commands.rb:91:in `translate_hbase_exceptions'
>            /usr/lib/hbase/lib/ruby/shell/commands.rb:34:in `command_safe'
>            /usr/lib/hbase/lib/ruby/shell.rb:127:in `internal_command'
>            /usr/lib/hbase/lib/ruby/shell.rb:119:in `command'
>            (eval):2:in `user_permission'
>            (hbase):1:in `evaluate'
>            org/jruby/RubyKernel.java:1112:in `eval'
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message