[ https://issues.apache.org/jira/browse/HBASE-7338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537922#comment-13537922 ]
Hudson commented on HBASE-7338: ------------------------------- Integrated in HBase-0.94-security #87 (See [https://builds.apache.org/job/HBase-0.94-security/87/]) HBASE-7338 Fix flaky condition for org.apache.hadoop.hbase.TestRegionRebalancing.testRebalanceOnRegionServerNumberChange (Revision 1423115) Result = SUCCESS stack : Files : * /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/TestRegionRebalancing.java > Fix flaky condition for > org.apache.hadoop.hbase.TestRegionRebalancing.testRebalanceOnRegionServerNumberChange > ------------------------------------------------------------------------------------------------------------- > > Key: HBASE-7338 > URL: https://issues.apache.org/jira/browse/HBASE-7338 > Project: HBase > Issue Type: Bug > Components: test > Affects Versions: 0.94.3, 0.96.0 > Reporter: Himanshu Vashishtha > Assignee: Himanshu Vashishtha > Priority: Minor > Fix For: 0.96.0, 0.94.4 > > Attachments: HBASE-7338.patch > > > The balancer doesn't run in case a region is in-transition. The check to > confirm whether there all regions are assigned looks for region count > 22, > where the total regions are 27. This may result in a failure: > {code} > java.lang.AssertionError: After 5 attempts, region assignments were not > balanced. > at org.junit.Assert.fail(Assert.java:93) > at > org.apache.hadoop.hbase.TestRegionRebalancing.assertRegionsAreBalanced(TestRegionRebalancing.java:203) > at > org.apache.hadoop.hbase.TestRegionRebalancing.testRebalanceOnRegionServerNumberChange(TestRegionRebalancing.java:123) > ..... > 2012-12-11 13:47:02,231 INFO [pool-1-thread-1] > hbase.TestRegionRebalancing(120): Added fourth > server=p0118.mtv.cloudera.com,44414,1355262422083 > 2012-12-11 13:47:02,231 INFO > [RegionServer:3;p0118.mtv.cloudera.com,44414,1355262422083] > regionserver.HRegionServer(3769): Registered RegionServer MXBean > 2012-12-11 13:47:02,231 DEBUG [pool-1-thread-1] master.HMaster(987): Not > running balancer because 1 region(s) in transition: > {c786446fb2542f190e937057cdc79d9d=test,kkk,1355262401365.c786446fb2542f190e937057cdc79d9d. > state=OPENING, ts=1355262421037, > server=p0118.mtv.cloudera.com,54281,1355262419765} > 2012-12-11 13:47:02,232 DEBUG [pool-1-thread-1] > hbase.TestRegionRebalancing(165): There are 4 servers and 26 regions. Load > Average: 13.0 low border: 9, up border: 16; attempt: 0 > 2012-12-11 13:47:02,232 DEBUG [pool-1-thread-1] > hbase.TestRegionRebalancing(171): p0118.mtv.cloudera.com,51590,1355262395329 > Avg: 13.0 actual: 11 > 2012-12-11 13:47:02,232 DEBUG [pool-1-thread-1] > hbase.TestRegionRebalancing(171): p0118.mtv.cloudera.com,52987,1355262407916 > Avg: 13.0 actual: 15 > 2012-12-11 13:47:02,233 DEBUG [pool-1-thread-1] > hbase.TestRegionRebalancing(171): p0118.mtv.cloudera.com,48044,1355262421787 > Avg: 13.0 actual: 0 > 2012-12-11 13:47:02,233 DEBUG [pool-1-thread-1] > hbase.TestRegionRebalancing(179): p0118.mtv.cloudera.com,48044,1355262421787 > Isn't balanced!!! Avg: 13.0 actual: 0 slop: 0.2 > 2012-12-11 13:47:12,233 DEBUG [pool-1-thread-1] master.HMaster(987): Not > running balancer because 1 region(s) in transition: > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira