Member since
07-21-2019
2
Posts
0
Kudos Received
0
Solutions
10-09-2019
04:44 AM
I'm in a test environment and it would really help if I'm already logged in as root to do everything I need, including accessing Hbase. I performed the changes and everything works perfectly! Thanks!
... View more
10-08-2019
11:25 AM
Why isn't the root user showing up on ranger?
I intend to give permission to the root user on Hbase but I'm getting the following error:
hbase(main):001:0> grant 'root','RWXCA'
ERROR: org.apache.hadoop.hbase.coprocessor.CoprocessorException: HTTP 400 Error: root is Not Found
at org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor.grant(RangerAuthorizationCoprocessor.java:1261)
at org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor.grant(RangerAuthorizationCoprocessor.java:1072)
at org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos$AccessControlService$1.grant(AccessControlProtos.java:10023)
at org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos$AccessControlService.callMethod(AccessControlProtos.java:10187)
at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:8065)
at org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion(RSRpcServices.java:2426)
at org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:2408)
at org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:42010)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:413)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:131)
at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:324)
at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:304)
I assume this is because ranger does not recognize the unix root user. But why? Is there a workaround?
... View more
Labels:
- Labels:
-
Apache HBase
-
Apache Ranger