You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/06/03 22:16:03 UTC
[jira] [Created] (HBASE-11294) IntegrationTestIngestWithACL should
automatically set the superuser when running in localhost mode
Andrew Purtell created HBASE-11294:
--------------------------------------
Summary: IntegrationTestIngestWithACL should automatically set the superuser when running in localhost mode
Key: HBASE-11294
URL: https://issues.apache.org/jira/browse/HBASE-11294
Project: HBase
Issue Type: Bug
Affects Versions: 0.98.3
Reporter: Andrew Purtell
Fix For: 0.99.0, 0.98.4
To reproduce:
{noformat}
$ mvn -DskipTests clean install
$ cd hbase-it
$ mvn verify -Dit.test=IntegrationTestIngestWithACL
{noformat}
This should execute successfully according to http://hbase.apache.org/book/hbase.tests.html section 16.7.5.1.
Instead no tables can deploy because the superuser is not automatically set to the running user, as what used to happen once upon a time:
{noformat}
2014-06-03 20:15:10,067 WARN [htable-pool12-t1] client.AsyncProcess(675): #7, table=hbase:meta, attempt=1/350 failed 1 ops, last exception: org.apache.hadoop.hbase.security.AccessDeniedException: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions (user=apurtell, scope=hbase:meta, family=info:regioninfo, action=WRITE)
at org.apache.hadoop.hbase.security.access.AccessController.prePut(AccessController.java:1447)
at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.prePut(RegionCoprocessorHost.java:1122)
at org.apache.hadoop.hbase.regionserver.HRegion.doPreMutationHook(HRegion.java:2269)
at org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:2244)
at org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:2200)
at org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:2204)
at org.apache.hadoop.hbase.regionserver.HRegionServer.doBatchOp(HRegionServer.java:4263)
at org.apache.hadoop.hbase.regionserver.HRegionServer.doNonAtomicRegionMutation(HRegionServer.java:3479)
at org.apache.hadoop.hbase.regionserver.HRegionServer.multi(HRegionServer.java:3369)
at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:29503)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2012)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:98)
at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.consumerLoop(SimpleRpcScheduler.java:168)
at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.access$000(SimpleRpcScheduler.java:39)
at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler$1.run(SimpleRpcScheduler.java:111)
at java.lang.Thread.run(Thread.java:745)
on localhost,59092,1401826507071, tracking started Tue Jun 03 20:15:10 UTC 2014 - FAILED, NOT RETRYING ANYMORE
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)