You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2014/03/31 12:33:15 UTC

[jira] [Resolved] (HBASE-6169) When a RS aborts without finishing closing a region, this region will always remain "in transition".

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

Harsh J resolved HBASE-6169.
----------------------------

    Resolution: Cannot Reproduce

This should no longer be a problem. Current AM impl. does carry a clause that tackles an RIT region returning no associated server.

> When a RS aborts without finishing closing a region, this region will always remain "in transition".
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-6169
>                 URL: https://issues.apache.org/jira/browse/HBASE-6169
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.6
>            Reporter: Maryann Xue
>
> When RS got an ZK error when trying to create a "CLOSING" node in the process of closing a region, it hence aborts without completing closing of the region.
> RS is then discovered dead by HMaster. ServerShutdownHandler does not try to reassign this region for it is in PENDING_CLOSE state; while all regions that originally belong to the dead RS get removed from the "regions" map.
> TimeoutMonitor then endlessly tries to "unassign" this region with LOG message "Region has been PENDING_CLOSE for too long". The "unassign" returns without doing anything, for this region does not exist in the "regions" map:
>   public void unassign(HRegionInfo region, boolean force, ServerName dest) {
>     // TODO: Method needs refactoring.  Ugly buried returns throughout.  Beware!
>     LOG.debug("Starting unassignment of region " +
>       region.getRegionNameAsString() + " (offlining)");
>     synchronized (this.regions) {
>       // Check if this region is currently assigned
>       if (!regions.containsKey(region)) {
>         LOG.debug("Attempted to unassign region " +
>           region.getRegionNameAsString() + " but it is not " +
>           "currently assigned anywhere");
>         return;
>       }
>     }
>   ...



--
This message was sent by Atlassian JIRA
(v6.2#6252)