ERROR: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions
Hbase Shell中设置root用户对表xx拥有读写执行的权限遇以下错误hbase(main):004:0> grant 'root','RWX','xx'ERROR: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions (user=root, scope=GLOBAL, act
·
我还是运维新手小白,如果文章有不对或者错误的地方,虚心求指出,谢谢各位!
Hbase Shell中设置root用户对表xx拥有读写执行的权限遇以下错误
hbase(main):004:0> grant 'root','RWX','xx'
ERROR: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions (user=root, scope=GLOBAL, action=ADMIN)
原因:
我当时使用的是root用户进入的Hbase Shell,在里面root并非最高权限拥有者,hbase用户才是最高权限拥有者,在hbase-site.xml里面hbase.superuser是hbase。
解决问题:
切换成hbase用户再进入Hbase Shell就可以成功执行
更多推荐
已为社区贡献1条内容
所有评论(0)