hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rajeshbabu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7992) provide pre/post region offline hooks for HMaster.offlineRegion().
Date Tue, 12 Mar 2013 11:35:13 GMT

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

rajeshbabu commented on HBASE-7992:
-----------------------------------

@Anoop,
bq. Are we clearly mentioning about this API some where? When to use this.
I didnt see any where. For this raised an IA(HBASE-8076).
@Ram,
bq. Any specific use case for this? 
No specific use case but as HMaster#offlineRegion is exposed to client,unathenticated user
can use this HBaseAdmin#offline API and mark regions as offline even if we enable security.
It will be more dangerous.
bq. If this method is used only in hbck then should we configure some CPs while executing
hbck so that this hook is called?
its presently used in hbck. IMHO it can be used in client but need to use carefully.

Please correct me if wrong.
                
> 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

Mime
View raw message