You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2015/04/11 02:55:13 UTC

[jira] [Resolved] (HBASE-4774) Retain znodes for all regions in UNASSIGNED (zookeeper)

     [ https://issues.apache.org/jira/browse/HBASE-4774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell resolved HBASE-4774.
-----------------------------------
    Resolution: Incomplete

> Retain znodes for all regions in UNASSIGNED (zookeeper)
> -------------------------------------------------------
>
>                 Key: HBASE-4774
>                 URL: https://issues.apache.org/jira/browse/HBASE-4774
>             Project: HBase
>          Issue Type: Brainstorming
>          Components: master
>            Reporter: Karthik Ranganathan
>
> We delete znodes from UNASSIGNED once a region is opened and the open is entered into META.
> A lot of multiple assignment issues arise from the fact that we delete this znode and dont have state information after the region is opened. So one proposal is to always retain the znodes in META and never delete the regions from UNASSIGNED. That way we can have a simple, deterministic state machine for each region. We could bucket the regions into sub-directories using a deterministic hash or the region prefixes. 
> Note that what we put in zk is not permanent state but just the state of the cluster that is running. This state is invalid upon cluster restart - so we are still storing temporary data in zk.
> Thoughts?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)