hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Nastetsky <anastet...@spryinc.com>
Subject Re: user_permission error - undefined method 'getTable'
Date Mon, 27 Jan 2014 21:41:46 GMT
That fixed it, thanks!


On Mon, Jan 27, 2014 at 4:21 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> Thanks for reporting this, Alex.
>
> I logged HBASE-10426 and put up a patch.
>
> Mind giving it a try ?
>
>
> On Mon, Jan 27, 2014 at 12:46 PM, Alex Nastetsky <anastetsky@spryinc.com
> >wrote:
>
> > Hi,
> >
> > When I run the "user_permission" command on a table, I get this error:
> >
> > hbase(main):010:0> create 'foo','bar'
> > 0 row(s) in 0.5780 seconds
> >
> > => Hbase::Table - foo
> > hbase(main):011:0> user_permission 'foo'
> > User
> Table,Family,Qualifier:Permission
> >
> > *ERROR: undefined method `getTable' for
> > #<Java::OrgApacheHadoopHbaseSecurityAccess::UserPermission:0x5d22005a>*
> >
> > Other info:
> >
> > Version of HBase:
> > 0.96.1.2.0.6.1-101-hadoop2, rcf3f71e5014c66e85c10a244fa9a1e3c43cef077
> >
> > Version of Zookeeper:
> > 3.4.5.2.0.6.0
> >
> > From hbase-site.xml:
> >   <property>
> >     <name>hbase.security.authentication</name>
> >     <value>simple</value>
> >   </property>
> >  <property>
> >     <name>hbase.security.authorization</name>
> >     <value>true</value>
> >   </property>
> >  <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>
> >
> > Thanks in advance,
> > Alex.
> >
>

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