Mohan created METRON-1486: ----------------------------- Summary: Search using post ' "/api/v1/search/search" Throws unauthorized exception Key: METRON-1486 URL: https://issues.apache.org/jira/browse/METRON-1486 Project: Metron Issue Type: Bug Reporter: Mohan
Search Controller API "/api/v1/search/search" Throws unauthorized exception, for the below payload {code:java} { "indices": [], "facetFields":[], "query": "*", "from": 0, "size": 20 } {code} Exception is as follows {code:java} { "responseCode": 500, "message": "org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions for user 'metron' (table=user_settings, action=READ)\n\tat org.apache.hadoop.hbase.security.access.AccessController.internalPreRead(AccessController.java:1616)\n\tat org.apache.hadoop.hbase.security.access.AccessController.preGetOp(AccessController.java:1624)\n\tat org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$26.call(RegionCoprocessorHost.java:816)\n\tat org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$RegionOperation.call(RegionCoprocessorHost.java:1660)\n\tat org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1734)\n\tat org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1692)\n\tat org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.preGet(RegionCoprocessorHost.java:812)\n\tat org.apache.hadoop.hbase.regionserver.HRegion.get(HRegion.java:6917)\n\tat org.apache.hadoop.hbase.regionserver.HRegion.get(HRegion.java:6905)\n\tat org.apache.hadoop.hbase.regionserver.RSRpcServices.get(RSRpcServices.java:2026)\n\tat org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32381)\n\tat org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2150)\n\tat org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112)\n\tat org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:187)\n\tat org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:167)\n", "fullMessage": "RemoteWithExtrasException: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions for user 'metron' (table=user_settings, action=READ)\n\tat org.apache.hadoop.hbase.security.access.AccessController.internalPreRead(AccessController.java:1616)\n\tat org.apache.hadoop.hbase.security.access.AccessController.preGetOp(AccessController.java:1624)\n\tat org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$26.call(RegionCoprocessorHost.java:816)\n\tat org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$RegionOperation.call(RegionCoprocessorHost.java:1660)\n\tat org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1734)\n\tat org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1692)\n\tat org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.preGet(RegionCoprocessorHost.java:812)\n\tat org.apache.hadoop.hbase.regionserver.HRegion.get(HRegion.java:6917)\n\tat org.apache.hadoop.hbase.regionserver.HRegion.get(HRegion.java:6905)\n\tat org.apache.hadoop.hbase.regionserver.RSRpcServices.get(RSRpcServices.java:2026)\n\tat org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32381)\n\tat org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2150)\n\tat org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112)\n\tat org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:187)\n\tat org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:167)\n" } {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)