Support Questions
Find answers, ask questions, and share your expertise

Hbase access - based on data in column

Expert Contributor

Hi All,

Is it possible to restrict/provide access in HBase based on value/data in particular column ?

for eg. if data in column 'colgrp' = 'group1', provide access (to the row) to users belonging to 'group1'.

similarly, if data in column 'colgrp' = 'group2', provide access (to the row) to users belonging to 'group1'

is there a way to achieve this in Hbase (or OpenTSDB) ? Pls. let me know.

1 REPLY 1

Re: Hbase access - based on data in column

Internal to HBase, no. I am not aware of such a feature.

You can try to use cell-level ACLs or the visibility labels feature to implement the same type of control.

http://hbase.apache.org/book.html#_administration http://hbase.apache.org/book.html#hbase.visibility.labels