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-9281) user_permission command encounters NullPointerException
Date Sun, 25 Aug 2013 19:03:52 GMT

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

Hadoop QA commented on HBASE-9281:
----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12599064/9281-v1.txt
  against trunk revision .

    {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/6892//console

This message is automatically generated.
                
> user_permission command encounters NullPointerException
> -------------------------------------------------------
>
>                 Key: HBASE-9281
>                 URL: https://issues.apache.org/jira/browse/HBASE-9281
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.95.2
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 9281-v1.txt
>
>
> As user hbase, user_permission command gave:
> {code}
> java.io.IOException: java.io.IOException
>   at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2185)
>   at org.apache.hadoop.hbase.ipc.RpcServer$Handler.run(RpcServer.java:1854)
> Caused by: java.lang.NullPointerException
>   at org.apache.hadoop.hbase.security.access.AccessControlLists.getUserTablePermissions(AccessControlLists.java:484)
>   at org.apache.hadoop.hbase.security.access.AccessController.getUserPermissions(AccessController.java:1341)
>   at org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos$AccessControlService$1.getUserPermissions(AccessControlProtos.java:9949)
>   at org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos$AccessControlService.callMethod(AccessControlProtos.java:10107)
>   at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:5121)
>   at org.apache.hadoop.hbase.regionserver.HRegionServer.execService(HRegionServer.java:3211)
>   at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:26851)
>   at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2147)
>   ... 1 more
>   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>   at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:106)
>   at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:95)
>   at org.apache.hadoop.hbase.protobuf.ProtobufUtil.getRemoteException(ProtobufUtil.java:235)
>   at org.apache.hadoop.hbase.protobuf.ProtobufUtil.execService(ProtobufUtil.java:1304)
>   at org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel$1.call(RegionCoprocessorRpcChannel.java:87)
>   at org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel$1.call(RegionCoprocessorRpcChannel.java:84)
>   at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:120)
>   at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:98)
>   at org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel.callExecService(RegionCoprocessorRpcChannel.java:90)
>   at org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel.callBlockingMethod(CoprocessorRpcChannel.java:67)
>   at org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos$AccessControlService$BlockingStub.getUserPermissions(AccessControlProtos.java:10304)
>   at org.apache.hadoop.hbase.protobuf.ProtobufUtil.getUserPermissions(ProtobufUtil.java:1974)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:597)
> ...
> Caused by: org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(java.io.IOException):
java.io.IOException
>   at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2185)
>   at org.apache.hadoop.hbase.ipc.RpcServer$Handler.run(RpcServer.java:1854)
> Caused by: java.lang.NullPointerException
>   at org.apache.hadoop.hbase.security.access.AccessControlLists.getUserTablePermissions(AccessControlLists.java:484)
>   at org.apache.hadoop.hbase.security.access.AccessController.getUserPermissions(AccessController.java:1341)
>   at org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos$AccessControlService$1.getUserPermissions(AccessControlProtos.java:9949)
>   at org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos$AccessControlService.callMethod(AccessControlProtos.java:10107)
>   at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:5121)
>   at org.apache.hadoop.hbase.regionserver.HRegionServer.execService(HRegionServer.java:3211)
>   at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:26851)
>   at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2147)
>   ... 1 more
>   at org.apache.hadoop.hbase.ipc.RpcClient.call(RpcClient.java:1387)
>   at org.apache.hadoop.hbase.ipc.RpcClient.callBlockingMethod(RpcClient.java:1591)
>   at org.apache.hadoop.hbase.ipc.RpcClient$BlockingRpcChannelImplementation.callBlockingMethod(RpcClient.java:1648)
>   at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$BlockingStub.execService(ClientProtos.java:27327)
>   at org.apache.hadoop.hbase.protobuf.ProtobufUtil.execService(ProtobufUtil.java:1300)
>   ... 234 more
> {code}
> According to help for user_permission command:
> {code}
> For example:
>     hbase> user_permission
>     hbase> user_permission 'table1'
> {code}
> not specifying table name should be accepted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message