Using HBase ACLs

HBase ACLs support the following privileges:

  • Read
  • Write
  • Create tables
  • Administrator

You can grant and remove privileges from users by using the grant and revoke commands from the HBase shell. The following example grants user jfoo read privileges from column family cf1 of table mytable:

hbase(main):001:0> grant 'jfoo' 'R' 'mytable','cf1'

This example removes user kbar's administrative privileges on the cluster:

hbase(main):001:0> revoke 'kbar' 'A'