hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Appy (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-19970) Remove unused functions from TableAuthManager
Date Sat, 10 Feb 2018 02:38:01 GMT

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

Appy edited comment on HBASE-19970 at 2/10/18 2:37 AM:
-------------------------------------------------------

I was trying to understand read/write paths for ACL meta data, looks like the write path is
as following (and doesn't involve deleted functions in any way):
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


was (Author: appy):
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)

Mime
View raw message