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

stack commented on HBASE-11839:
-------------------------------

[~sergey.soldatov] No suggestion or comment, just encouragement.  Thanks for 
digging in here.  I was thinking it was an issue w/ the first run of 
TestRegionRebalance because a bunch of threads still hanging out after it 
completes.... was trying to look there.  I was going to also just try this:

{code}
diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/TestRegionRebalancing.java 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/TestRegionRebalancing.java
index fdcb00c..d158c2b 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/TestRegionRebalancing.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/TestRegionRebalancing.java
@@ -55,8 +55,7 @@ public class TestRegionRebalancing {
   @Parameters
   public static Collection<Object[]> data() {
     Object[][] balancers =
-        new String[][] { { 
"org.apache.hadoop.hbase.master.balancer.SimpleLoadBalancer" },
-            { "org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer" 
} };
+      new String[][] {{ 
"org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer" }};
     return Arrays.asList(balancers);
   }
{code}

... since SimpleLoadBalancer ain't used.

Your finding sounds better than mine.

Anything you want to try?  Anything you want to commit?  Seems pretty easy to 
reproduce but if you want to add a bit of debugging just say and I'll commit it 
for you, np.

> TestRegionRebalance is flakey
> -----------------------------
>
>                 Key: HBASE-11839
>                 URL: https://issues.apache.org/jira/browse/HBASE-11839
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Alex Newman
>            Assignee: Alex Newman
>
> Besides failing many times on the prebuild TestRegionRebalance fails on my 
> local machine eventually simply with
> export RUNNIN=true; mvn clean install -DskipTests ; while ($RUNNIN) ; do mvn 
> test -Dtest=TestRegionRebalancing || RUNNIN=false;done



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to