[
https://issues.apache.org/jira/browse/HBASE-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ramkrishna.s.vasudevan updated HBASE-8705:
------------------------------------------
Attachment: HBASE-8705.patch
A simple patch that just retries incase of META. What you guys think about it.
It is nothing but reintroducing the logic where the assignment was attempted
for maxAttempts number of times. This just does that for META incase of not
region plan available but with a sleep.
> RS holding META when restarted in a single node setup may hang infinitely
> without META assignment
> -------------------------------------------------------------------------------------------------
>
> Key: HBASE-8705
> URL: https://issues.apache.org/jira/browse/HBASE-8705
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.95.1
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Priority: Minor
> Fix For: 0.98.0
>
> Attachments: HBASE-8705.patch
>
>
> This bug may be minor as it likely to happen in a single node setup.
> I restarted the RS holding META. The master tried assigning META using
> MetaSSH. But tried this before the new RS came up.
> So as not region plan is found
> {code}
> if (plan == null) {
> LOG.warn("Unable to determine a plan to assign " + region);
> if (tomActivated){
> this.timeoutMonitor.setAllRegionServersOffline(true);
> } else {
> regionStates.updateRegionState(region,
> RegionState.State.FAILED_OPEN);
> }
> return;
> }
> {code}
> we just return without assigment. And this being the META the small cluster
> just hangs.
--
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