hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5299) CatalogTracker.getMetaServerConnection() checks for root server connection and makes waitForMeta to go into infinite wait in region assignment flow.
Date Tue, 30 Dec 2014 04:32:14 GMT

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

ramkrishna.s.vasudevan commented on HBASE-5299:
-----------------------------------------------

[~saint.ack@gmail.com]
You still want to check this. Not sure if this problem is still there.

> CatalogTracker.getMetaServerConnection() checks for root server connection and makes
waitForMeta to go into infinite wait in region assignment flow.
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5299
>                 URL: https://issues.apache.org/jira/browse/HBASE-5299
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Minor
>
> RSA, RS B and RS C are 3 region servers.
> RS A -> META
> RS B -> ROOT
> RS C -> NON META and NON ROOT
> Kill RS B and wait for server shutdown handler to start.  
> Start RS B again before assigning ROOT to RS C.
> Now the cluster will try to assign new regions to RS B.  
> But as ROOT is not yet assigned the OpenRegionHandler.updateMeta will fail to update
the regions just because ROOT is not online.
> {code}
> a87109263ed53e67158377a149c5a7be from RS_ZK_REGION_OPENING to RS_ZK_REGION_OPENING
> 2012-01-30 16:23:25,126 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign: regionserver:60020-0x1352e27539c0009
Attempting to transition node a87109263ed53e67158377a149c5a7be from RS_ZK_REGION_OPENING to
RS_ZK_REGION_OPENING
> 2012-01-30 16:23:25,159 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign: regionserver:60020-0x1352e27539c0009
Successfully transitioned node a87109263ed53e67158377a149c5a7be from RS_ZK_REGION_OPENING
to RS_ZK_REGION_OPENING
> 2012-01-30 16:23:35,385 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign: regionserver:60020-0x1352e27539c0009
Attempting to transition node a87109263ed53e67158377a149c5a7be from RS_ZK_REGION_OPENING to
RS_ZK_REGION_OPENING
> 2012-01-30 16:23:35,449 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign: regionserver:60020-0x1352e27539c0009
Successfully transitioned node a87109263ed53e67158377a149c5a7be from RS_ZK_REGION_OPENING
to RS_ZK_REGION_OPENING
> 2012-01-30 16:24:16,666 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign: regionserver:60020-0x1352e27539c0009
Attempting to transition node a87109263ed53e67158377a149c5a7be from RS_ZK_REGION_OPENING to
RS_ZK_REGION_OPENING
> 2012-01-30 16:24:16,701 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign: regionserver:60020-0x1352e27539c0009
Successfully transitioned node a87109263ed53e67158377a149c5a7be from RS_ZK_REGION_OPENING
to RS_ZK_REGION_OPENING
> 2012-01-30 16:24:20,788 DEBUG org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler:
Interrupting thread Thread[PostOpenDeployTasks:a87109263ed53e67158377a149c5a7be,5,main]
> 2012-01-30 16:24:30,699 WARN org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler:
Exception running postOpenDeployTasks; region=a87109263ed53e67158377a149c5a7be
> org.apache.hadoop.hbase.NotAllMetaRegionsOnlineException: Interrupted
> 	at org.apache.hadoop.hbase.catalog.CatalogTracker.waitForMetaServerConnectionDefault(CatalogTracker.java:439)
> 	at org.apache.hadoop.hbase.catalog.MetaEditor.updateRegionLocation(MetaEditor.java:142)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.postOpenDeployTasks(HRegionServer.java:1382)
> 	at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler$PostOpenDeployTasksThread.run(OpenRegionHandler.java:221)
> {code}
> So we need to wait for TM to assign the regions again. 



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

Mime
View raw message