Duo Zhang created HBASE-21144:
---------------------------------

             Summary: AssignmentManager.waitForAssignment is not stable
                 Key: HBASE-21144
                 URL: https://issues.apache.org/jira/browse/HBASE-21144
             Project: HBase
          Issue Type: Bug
            Reporter: Duo Zhang


https://builds.apache.org/job/HBase-Flaky-Tests/job/master/366/artifact/hbase-server/target/surefire-reports/org.apache.hadoop.hbase.client.TestMetaWithReplicas-output.txt/*view*/

All replicas for meta table are on the same machine
{noformat}
2018-09-02 19:49:05,486 DEBUG [RS_OPEN_META-regionserver/asf904:0-0] 
handler.OpenRegionHandler(127): Opened hbase:meta,,1.1588230740 on 
asf904.gq1.ygridcore.net,47561,1535917740998
2018-09-02 19:49:32,802 DEBUG [RS_OPEN_META-regionserver/asf904:0-0] 
handler.OpenRegionHandler(127): Opened hbase:meta,,1_0001.534574363 on 
asf904.gq1.ygridcore.net,55408,1535917768453
2018-09-02 19:49:33,496 DEBUG [RS_OPEN_META-regionserver/asf904:0-0] 
handler.OpenRegionHandler(127): Opened hbase:meta,,1_0002.1657623790 on 
asf904.gq1.ygridcore.net,55408,1535917768453
{noformat}

But after calling am.waitForAssignment, the region location is still null...
{noformat}
2018-09-02 19:49:32,414 INFO  [Time-limited test] 
client.TestMetaWithReplicas(113): HBASE:META DEPLOY: 
hbase:meta,,1_0001.534574363 on null
2018-09-02 19:49:32,844 INFO  [Time-limited test] 
client.TestMetaWithReplicas(113): HBASE:META DEPLOY: 
hbase:meta,,1_0002.1657623790 on null
{noformat}
So we will not balance the replicas and cause TestMetaWithReplicas to hang 
forever...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to