hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Purtell <apurt...@apache.org>
Subject Re: HBase 0.94.3 with ACL RS won't start
Date Fri, 20 Jun 2014 17:11:53 GMT
Have you set up keytabs for the server processes?


On Thu, Jun 19, 2014 at 9:40 PM, Demai Ni <nidmgg@gmail.com> wrote:

> hi, folks,
>
> I am able to recreate the same error on another single node cluster.
>
> RS log pasted here: http://pastebin.com/iP9Mrz2T
> and
> hbase-site.xml is here: http://pastebin.com/ppnqfwGR
>
> the only thing changes is by adding the following property per
> http://hbase.apache.org/book/hbase.accesscontrol.configuration.html
>    <property>
>      <name>hbase.coprocessor.master.classes</name>
>
>  <value>org.apache.hadoop.hbase.security.access.AccessController</value>
>        </property>
>        <property>
>        <name>hbase.coprocessor.region.classes</name>
>          <value>org.apache.hadoop.hbase.security.token.TokenProvider,
>            org.apache.hadoop.hbase.security.access.AccessController</value>
>    </property>
>
> the same setting works on another hbase 98.2 cluster. So I am wondering
> what's missing here.
>
> BTW, I didn't follow the instruction here:
> http://hbase.apache.org/book/zk.sasl.auth.html for zookeeper as no
> Authentication is needed on this cluster.
>
> Any suggestion or pointers?
>
> Demai
>
>
> On Thu, Jun 19, 2014 at 2:59 PM, Enoch Hsu <ehsu@us.ibm.com> wrote:
>
> >
> >
> > Hi All,
> >
> > I am running HBase 0.94.3 and trying to get ACL working on a single node
> > cluster. I followed the steps in
> > http://hbase.apache.org/book/hbase.accesscontrol.configuration.html step
> > 8.4.3 and added those 2 properties to my hbase-site.xml
> > After stopping and starting hbase, my regionserver is dying with
> following
> > error/stack trace
> >
> > 2014-06-19 14:51:00,430 WARN
> > org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler: Exception
> > running postOpenDeployTasks; region=1028785192
> > org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException:
> Failed
> > 1 action: org.apache.hadoop.hbase.security.AccessDeniedException:
> > Insufficient permissions (table=-ROOT-, family: info, action=WRITE)
> >         at
> >
> org.apache.hadoop.hbase.security.access.AccessController.requirePermission
> > (AccessController.java:471)
> >         at
> org.apache.hadoop.hbase.security.access.AccessController.prePut
> > (AccessController.java:878)
> >         at
> > org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.prePut
> > (RegionCoprocessorHost.java:800)
> >         at org.apache.hadoop.hbase.regionserver.HRegion.doPreMutationHook
> > (HRegion.java:2046)
> >         at org.apache.hadoop.hbase.regionserver.HRegion.batchMutate
> > (HRegion.java:2022)
> >         at org.apache.hadoop.hbase.regionserver.HRegionServer.multi
> > (HRegionServer.java:3573)
> >         at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:37)
> >         at java.lang.reflect.Method.invoke(Method.java:611)
> >         at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call
> > (WritableRpcEngine.java:364)
> >         at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run
> > (HBaseServer.java:1426)
> > : 1 time, servers with issues: bdvm081.svl.ibm.com:60020,
> >         at org.apache.hadoop.hbase.client.HConnectionManager
> > $HConnectionImplementation.processBatchCallback
> > (HConnectionManager.java:1624)
> >         at org.apache.hadoop.hbase.client.HConnectionManager
> > $HConnectionImplementation.processBatch(HConnectionManager.java:1400)
> >         at org.apache.hadoop.hbase.client.HTable.flushCommits
> > (HTable.java:915)
> >         at org.apache.hadoop.hbase.client.HTable.doPut(HTable.java:771)
> >         at org.apache.hadoop.hbase.client.HTable.put(HTable.java:746)
> >         at org.apache.hadoop.hbase.catalog.MetaEditor.put
> > (MetaEditor.java:99)
> >         at org.apache.hadoop.hbase.catalog.MetaEditor.putToCatalogTable
> > (MetaEditor.java:89)
> >         at org.apache.hadoop.hbase.catalog.MetaEditor.updateLocation
> > (MetaEditor.java:260)
> >         at org.apache.hadoop.hbase.catalog.MetaEditor.updateMetaLocation
> > (MetaEditor.java:222)
> >         at
> > org.apache.hadoop.hbase.regionserver.HRegionServer.postOpenDeployTasks
> > (HRegionServer.java:1757)
> >         at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler
> > $PostOpenDeployTasksThread.run(OpenRegionHandler.java:242)
> >
> > Any ideas on what is causing this and how to fix?
> >
> > I also tried adding hbase.superuser but that also did not work.
> >
> > Thanks,
> > Enoch Hsu
>



-- 
Best regards,

   - Andy

Problems worthy of attack prove their worth by hitting back. - Piet Hein
(via Tom White)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message