天天看點

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'