hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9918) MasterAddressTracker & ZKNamespaceManager ZK listeners are missed after master recovery
Date Wed, 13 Nov 2013 09:31:51 GMT

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

Hudson commented on HBASE-9918:
-------------------------------

SUCCESS: Integrated in hbase-0.96-hadoop2 #118 (See [https://builds.apache.org/job/hbase-0.96-hadoop2/118/])
HBASE-9918: MasterAddressTracker & ZKNamespaceManager ZK listeners are missed after master
recovery (jeffreyz: rev 1540934)
* /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/TestZooKeeper.java


> MasterAddressTracker & ZKNamespaceManager ZK listeners are missed after master recovery
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-9918
>                 URL: https://issues.apache.org/jira/browse/HBASE-9918
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jeffrey Zhong
>            Assignee: Jeffrey Zhong
>             Fix For: 0.98.0, 0.96.1
>
>         Attachments: HBase-9918.patch, hbase-9918.v1.patch
>
>
> TestZooKeeper#testRegionAssignmentAfterMasterRecoveryDueToZKExpiry always failed at the
following verification for me in my dev env(you have to run the single test  not the whole
TestZooKeeper suite to reproduce)
> {code}
> assertEquals("Number of rows should be equal to number of puts.", numberOfPuts, numberOfRows);
> {code}
> We missed two ZK listeners after master recovery MasterAddressTracker & ZKNamespaceManager.

> My current patch is to fix the JIRA issue while I'm wondering if we should totally remove
the master failover implementation when ZK session expired because this causes reinitialize
HMaster partially which is error prone and not a clean state to start from. 
>  



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message