天天看点

hbase org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permiss解决方法

hbase  shell 创建表的时候提示org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permiss,

原因是用户bigdata的用户没有权限

登陆hbase shell

grant <user> <permissions> [<table> [<column family> [<column; qualifier>]]

1.给用户授权

grant 'bigdata','RWCA'

2.查看用户的权限

user_permision

3.回收权限

 revoke  'bigdata'