You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/05/23 16:19:00 UTC
[jira] [Created] (HBASE-20627) Relocate RS Group pre/post hooks
from RSGroupAdminServer to RSGroupAdminEndpoint
Ted Yu created HBASE-20627:
------------------------------
Summary: Relocate RS Group pre/post hooks from RSGroupAdminServer to RSGroupAdminEndpoint
Key: HBASE-20627
URL: https://issues.apache.org/jira/browse/HBASE-20627
Project: HBase
Issue Type: Bug
Reporter: Ted Yu
Assignee: Ted Yu
Attachments: 20627.v1.txt
Currently RS Group pre/post hooks are called from RSGroupAdminServer.
e.g. RSGroupAdminServer#removeRSGroup :
{code}
if (master.getMasterCoprocessorHost() != null) {
master.getMasterCoprocessorHost().preRemoveRSGroup(name);
}
{code}
RSGroupAdminServer#removeRSGroup is called by RSGroupAdminEndpoint :
{code}
checkPermission("removeRSGroup");
groupAdminServer.removeRSGroup(request.getRSGroupName());
{code}
If permission check fails, the pre hook wouldn't be called.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)