[jira] [Updated] (HBASE-7338) Fix flaky condition for org.apache.hadoop.hbase.TestRegionRebalancing.testRebalanceOnRegionServerNumberChange

2012-12-17 Thread stack (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HBASE-7338:
-

Fix Version/s: 0.94.4

Committed to 0.94 w/ -p1

 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


[jira] [Updated] (HBASE-7338) Fix flaky condition for org.apache.hadoop.hbase.TestRegionRebalancing.testRebalanceOnRegionServerNumberChange

2012-12-13 Thread Jimmy Xiang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Xiang updated HBASE-7338:
---

Assignee: Himanshu Vashishtha

 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
 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


[jira] [Updated] (HBASE-7338) Fix flaky condition for org.apache.hadoop.hbase.TestRegionRebalancing.testRebalanceOnRegionServerNumberChange

2012-12-13 Thread Jimmy Xiang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Xiang updated HBASE-7338:
---

   Resolution: Fixed
Fix Version/s: 0.96.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

 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

 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


[jira] [Updated] (HBASE-7338) Fix flaky condition for org.apache.hadoop.hbase.TestRegionRebalancing.testRebalanceOnRegionServerNumberChange

2012-12-12 Thread Himanshu Vashishtha (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Himanshu Vashishtha updated HBASE-7338:
---

Attachment: HBASE-7338.patch

Ran the test locally and it passes.

 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
Priority: Minor
 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


[jira] [Updated] (HBASE-7338) Fix flaky condition for org.apache.hadoop.hbase.TestRegionRebalancing.testRebalanceOnRegionServerNumberChange

2012-12-12 Thread Himanshu Vashishtha (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-7338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Himanshu Vashishtha updated HBASE-7338:
---

Status: Patch Available  (was: Open)

 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
Priority: Minor
 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