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

Ted Yu commented on HBASE-20627:
--------------------------------

Compilation errors against old hadoop releases were not related:
{code}
[ERROR] 
/testptch/hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/fs/HFileSystem.java:[49,39]
 cannot find symbol
[ERROR] symbol:   class BlockStoragePolicy
[ERROR] location: package org.apache.hadoop.hdfs.protocol
{code}

> 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
>            Priority: Major
>             Fix For: 2.1.0
>
>         Attachments: 20627.branch-1.txt, 20627.v1.txt, 20627.v2.txt, 
> 20627.v3.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)

Reply via email to