[
https://issues.apache.org/jira/browse/HBASE-9151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
rajeshbabu updated HBASE-9151:
------------------------------
Attachment: HBASE-9151.patch
Patch solves two problems
1) hbck cannot repair meta assignment issue when meta region server znode is
deleted.
2) If no region server available, then we will retry meta assignment for 10
seconds and then set the region transition state to FAILED_OPEN. Later even if
we start new region server also hbase:meta wont be assigned.
Please review. Thanks
> HBCK cannot fix when meta server znode deleted, this can happen if all region
> servers stopped and there are no logs to split.
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-9151
> URL: https://issues.apache.org/jira/browse/HBASE-9151
> Project: HBase
> Issue Type: Bug
> Components: hbck
> Reporter: rajeshbabu
> Assignee: rajeshbabu
> Fix For: 0.98.0, 0.99.0
>
> Attachments: HBASE-9151.patch
>
>
> When meta server znode deleted and meta in FAILED_OPEN state, then hbck
> cannot fix it. This scenario can come when all region servers stopped by stop
> command and didnt start any RS within 10 secs(with default configurations).
> {code}
> public void assignMeta() throws KeeperException {
> MetaRegionTracker.deleteMetaLocation(this.watcher);
> assign(HRegionInfo.FIRST_META_REGIONINFO, true);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)