hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-9281) user_permission command encounters NullPointerException
Date Tue, 20 Aug 2013 23:20:51 GMT
Ted Yu created HBASE-9281:
-----------------------------

             Summary: 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


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