Reply
Highlighted
Contributor
Posts: 43
Registered: ‎01-19-2017
Accepted Solution

Hbase : ERROR: DISABLED: Security features are not available

[ Edited ]

 

Hi,

 

      My Cloudera cluster is not kerboros configured and I am trying to create grants for the user getting below error in HBase

 

 

 

ERROR: DISABLED: Security features are not available

Here is some help for this command:
Grant users specific rights.
Syntax : grant <user>, <permissions> [, <@namespace> [, <table> [, <column family> [, <column qualifier>]]]

permissions is either zero or more letters from the set "RWXCA".
READ('R'), WRITE('W'), EXEC('X'), CREATE('C'), ADMIN('A')

Note: Groups and users are granted access in the same way, but groups are prefixed with an '@'
character. In the same way, tables and namespaces are specified, but namespaces are
prefixed with an '@' character.

For example:

hbase> grant 'bobsmith', 'RWXCA'
hbase> grant '@admins', 'RWXCA'
hbase> grant 'bobsmith', 'RWXCA', '@ns1'
hbase> grant 'bobsmith', 'RW', 't1', 'f1', 'col1'
hbase> grant 'bobsmith', 'RW', 'ns1:t1', 'f1', 'col1'

 

Is grants works only with kerberos authenticated env?

 

Authorization works only after the kerboros based authentication mechanism enable?

 

 

Contributor
Posts: 43
Registered: ‎01-19-2017

Re: Hbase : ERROR: DISABLED: Security features are not available

With the help of below link. I have solved the issue.

 

http://blog.csdn.net/mtj66/article/details/52746066

Announcements