[
https://issues.apache.org/jira/browse/HBASE-7992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13601240#comment-13601240
]
Andrew Purtell commented on HBASE-7992:
---------------------------------------
I suggest one of the following approaches:
1. Update the javadoc to indicate that bypass() will not work here. Remove the
logic that does the bypass at the hook site to insure bypass is not possible.
2. Modify the hook and the OfflineRegionResponse response so we can communicate
back to the caller that the offlining was ignored.
Probably option 1 is easiest.
Either one of these is fine, I'll remove my veto.
> provide pre/post region offline hooks for HMaster.offlineRegion().
> -------------------------------------------------------------------
>
> Key: HBASE-7992
> URL: https://issues.apache.org/jira/browse/HBASE-7992
> Project: HBase
> Issue Type: Bug
> Components: Coprocessors
> Affects Versions: 0.95.0
> Reporter: rajeshbabu
> Assignee: rajeshbabu
> Fix For: 0.98.0
>
> Attachments: HBASE-7992_trunk.patch
>
>
> presently no hooks to provide access control to offline region in master.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira