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-18575) [AMv2] Enable and fix TestRestartCluster#testRetainAssignmentOnRestart on master
Date Wed, 23 Aug 2017 21:31:01 GMT

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

Hudson commented on HBASE-18575:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-2.0 #383 (See [https://builds.apache.org/job/HBase-2.0/383/])
HBASE-18575 [AMv2] Fixed and enabled (stack: rev fad968d99f4693278edcaefff92738e67ad8e8a0)
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/TestServerName.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ServerCrashProcedure.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
* (edit) hbase-common/src/main/java/org/apache/hadoop/hbase/ServerName.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/FavoredStochasticBalancer.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/favored/TestStartcodeAgnosticServerName.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/favored/FavoredNodeLoadBalancer.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/ActiveMasterManager.java
* (edit) hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/master/balancer/TestRSGroupBasedLoadBalancer.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestFavoredStochasticLoadBalancer.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/favored/FavoredNodeAssignmentHelper.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/DeadServer.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestRestartCluster.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/favored/FavoredNodesPlan.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestRegionPlacement.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestRegionPlacement2.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestFavoredStochasticBalancerPickers.java
* (edit) hbase-it/src/test/java/org/apache/hadoop/hbase/DistributedHBaseCluster.java


> [AMv2] Enable and fix TestRestartCluster#testRetainAssignmentOnRestart on master
> --------------------------------------------------------------------------------
>
>                 Key: HBASE-18575
>                 URL: https://issues.apache.org/jira/browse/HBASE-18575
>             Project: HBase
>          Issue Type: Bug
>          Components: amv2
>    Affects Versions: 2.0.0
>            Reporter: Umesh Agashe
>            Assignee: Umesh Agashe
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: hbase-18575.master.001.patch, hbase-18575.master.001.patch
>
>
> * Test creates 3 node cluster (master + 2 RS) and creates 3 tables with 1 region each.
> * It then takes a snapshot of region assignments
> * Shuts down the cluster and restarts with 4 nodes (2 RS on same ports, 1 RS on port
where master was running previously and master on new port)
> * Takes snapshot of region assignments
> * Expected behavior is regions will be retained on RS with appropriate ports
> Debugging done so far shows that, when cluster is restarted meta is loaded but meta has
old entries (though the ports are same for RSs, start timestamps are different). AssignmentManager#processofflineServersWithOnlineRegions()
finds that old RS with different timestamps are not online even though regions assigned to
them are online; triggering submitting SCP for each those RSs. Subprocedure AssignProcedure
of SCP has forceNewPlan set to true. Which triggers re-assignment of regions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message