hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15023) Reenable TestShell and TestStochasticLoadBalancer
Date Tue, 29 Dec 2015 17:55:49 GMT

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

stack commented on HBASE-15023:
-------------------------------

On 1.2 branch, the restored TestStochasticLoadBalancer has had two amendments:

I turned off this test that failed:

-------------------------------------------------------------------------------
Test set: org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancer
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 655.27 sec <<< FAILURE!
- in org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancer
testRegionReplicationOnMidClusterSameHosts(org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancer)
 Time elapsed: 95.872 sec  <<< FAILURE!
java.lang.AssertionError: null
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at org.apache.hadoop.hbase.master.balancer.BalancerTestBase.assertClusterAsBalanced(BalancerTestBase.java:203)
	at org.apache.hadoop.hbase.master.balancer.BalancerTestBase.testWithCluster(BalancerTestBase.java:444)
	at org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancer.testRegionReplicationOnMidClusterSameHosts(TestStochasticLoadBalancer.java:454)


... and removed testMoveCost because of

{code}
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
(default-testCompile) on project hbase-server: Compilation failure: Compilation failure:
[ERROR] /home/jenkins/jenkins-slave/workspace/HBase-1.2/jdk/latest1.7/label/Hadoop/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancer.java:[136,13]
error: cannot find symbol
[ERROR] symbol:   method setNumRegions(int)
[ERROR] location: variable cluster of type Cluster
[ERROR] /home/jenkins/jenkins-slave/workspace/HBase-1.2/jdk/latest1.7/label/Hadoop/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancer.java:[137,13]
error: cannot find symbol
[ERROR] symbol:   method setNumMovedRegions(int)
[ERROR] location: variable cluster of type Cluster
[ERROR] /home/jenkins/jenkins-slave/workspace/HBase-1.2/jdk/latest1.7/label/Hadoop/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancer.java:[140,13]
error: cannot find symbol
[ERROR] symbol:   method setNumMovedRegions(int)
[ERROR] location: variable cluster of type Cluster
[ERROR] /home/jenkins/jenkins-slave/workspace/HBase-1.2/jdk/latest1.7/label/Hadoop/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancer.java:[143,13]
error: cannot find symbol
[ERROR] symbol:   method setNumMovedRegions(int)
[ERROR] location: variable cluster of type Cluster
[ERROR] /home/jenkins/jenkins-slave/workspace/HBase-1.2/jdk/latest1.7/label/Hadoop/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancer.java:[149,13]
error: cannot find symbol
[ERROR] symbol:   method setNumRegions(int)
[ERROR] location: variable cluster of type Cluster
[ERROR] /home/jenkins/jenkins-slave/workspace/HBase-1.2/jdk/latest1.7/label/Hadoop/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancer.java:[150,13]
error: cannot find symbol
[ERROR] symbol:   method setNumMovedRegions(int)
[ERROR] location: variable cluster of type Cluster
[ERROR] /home/jenkins/jenkins-slave/workspace/HBase-1.2/jdk/latest1.7/label/Hadoop/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancer.java:[153,13]
error: cannot find symbol
[ERROR] symbol:   method setNumMovedRegions(int)
[ERROR] location: variable cluster of type Cluster
[ERROR] /home/jenkins/jenkins-slave/workspace/HBase-1.2/jdk/latest1.7/label/Hadoop/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancer.java:[156,13]
error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR] 
{code}

Probably my fault for not being more careful around the restore, restoring the particular
versions that were on these branches previous to my removal.

Lets see how these do.

> Reenable TestShell and TestStochasticLoadBalancer
> -------------------------------------------------
>
>                 Key: HBASE-15023
>                 URL: https://issues.apache.org/jira/browse/HBASE-15023
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>            Reporter: stack
>            Assignee: stack
>             Fix For: 2.0.0, 1.2.0, 1.3.0
>
>         Attachments: 15023.patch, 15023.patch
>
>
> Parent disabled these tests when test runs were flakier than they are now. Try reenabling
them.



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

Mime
View raw message