[ 
https://issues.apache.org/jira/browse/HBASE-12644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14248697#comment-14248697
 ] 

Jerry He commented on HBASE-12644:
----------------------------------

Hi, [~tedyu], [~anoop.hbase]

I do not find an option in the menu for me to add release note.  Probably I do 
not have the permission.
Here is the info that needs to be added.  Feel free to change the wording as 
you desire. Thanks.

-------------------------------------------------
The system visibility label authorization for super users will no longer be 
persisted in hbase:labels table. Super users will be determined at server 
startup time. They will have all the permissions for Visibility labels.
If you have a prior deployment that had super users' system label persisted in 
hbase:labels, you can clean up by invoking the shell command 'clear_auths'.
For example:  clear_auths 'old_superuser', 'system'
This is particular necessary when you change super users, i.e. a previous super 
user is no longer a super user.

> Visibility Labels: issue with storing super users in labels table
> -----------------------------------------------------------------
>
>                 Key: HBASE-12644
>                 URL: https://issues.apache.org/jira/browse/HBASE-12644
>             Project: HBase
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 0.98.8, 0.99.2
>            Reporter: Jerry He
>            Assignee: Jerry He
>             Fix For: 1.0.0, 2.0.0
>
>         Attachments: 12644-0.98.patch, HBASE-12644-master-v2.patch, 
> HBASE-12644-master-v3.patch, HBASE-12644-master.patch
>
>
> Super users have all the permissions for ACL and Visibility labels.
> They are defined in hbase-site.xml.
> Currently in VisibilityController, we persist super user with their system 
> permission in hbase:labels.
> This makes change in super user difficult.
> There are two issues:
> In the current DefaultVisibilityLabelServiceImpl.addSystemLabel, we only add 
> super user when we initially create the 'system' label.
> No additional update after that even if super user changed. See code for 
> details.
>  
> Additionally, there is no mechanism to remove any super user from the labels 
> table.
>  
> We probably should not persist super users in the labels table.
> They are in hbase-site.xml and can just stay in labelsCache and used from 
> labelsCache after retrieval by Visibility Controller.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to