You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Appy (JIRA)" <ji...@apache.org> on 2018/02/10 02:38:00 UTC

[jira] [Commented] (HBASE-19970) Remove unused functions from TableAuthManager

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

Appy commented on HBASE-19970:
------------------------------

I was trying to understand read/write paths for ACL meta data, looks like the write path is:
grant() rpc --> execute CP service on ACL table's region --> write data to ACL region --> postGet hook --> use ZKPermissionsWatcher to write new data to zk

> Remove unused functions from TableAuthManager
> ---------------------------------------------
>
>                 Key: HBASE-19970
>                 URL: https://issues.apache.org/jira/browse/HBASE-19970
>             Project: HBase
>          Issue Type: Task
>            Reporter: Appy
>            Assignee: Appy
>            Priority: Minor
>
> Functions deleted in TableAuthManager:
> - setTableUserPermissions
> - setTableGroupPermissions
> - setNamespaceUserPermissions
> - setNamespaceGroupPermissions
> - writeTableToZooKeeper
> - writeNamespaceToZooKeeper
> To make sure it was not a bug, and that relevant functionality moved to some alternate code path, tried to find out why and when these functions went out of use. But just couldn't figure out...until i reached the patch which added them. Looks like they were dead functions to start with :)
> Jira which added them: HBASE-8409. Commit id: ac10b3c13d6b66e12d0c9601204b01dfa525ed19



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)