Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Hbase : ERROR: DISABLED: Security features are not available

avatar
Expert Contributor

 

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?

 

 

1 ACCEPTED SOLUTION

avatar
Expert Contributor

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

 

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

View solution in original post

1 REPLY 1

avatar
Expert Contributor

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

 

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