本人的hbase 版本是0.98,我的cheng用户的组别是hive,可是我对hive组做授权,为什么还是无法使用呢???
[cheng@hdfs01 ~]$ /opt/hbase/bin/hbase version
HBase 0.98.18-hadoop2
Source code repository git://aspire/home/apurtell/src/hbase revision=c26c554ab3a8deecf890873bf6b1b4c90fa001dc
Compiled by apurtell on Fri Mar 18 19:19:59 PDT 2016
From source with checksum e756b7577dda2c79a1802a65a78c53f
使用super user对hive组 做授权
hbase(main):008:0> grant '@hive','RWXCA'
0 row(s) in 0.0150 seconds
hbase(main):009:0> user_permission
User Namespace,Table,Family,Qualifier:Permission
@hive hbase,hbase:acl,,: [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
hadoop hbase,hbase:acl,,: [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
hadoop hbase,hbase:acl,,: [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
3 row(s) in 0.0160 seconds
使用cheng 用户去 scan其中一个表
hbase(main):010:0> scan '111'
ROW COLUMN+CELL
ERROR: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions for user 'cheng' (table=111, action=READ)
为什么无法scan啊,求各位大神指导??
|