hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-14507) Disable TestDistributedLogSplitting#testWorkerAbort Its flakey with tenuous chance of success
Date Tue, 29 Sep 2015 12:29:04 GMT

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

stack resolved HBASE-14507.
---------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Done. Was part of the patch that went for "HBASE-14495 TestHRegion#testFlushCacheWhileScanning
goes zombie". Rather than pull the fix out of there, I just left it. Here is the change that
disabled the unit test for TDLS:

{code}
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java
index 25a5f41..4a43bbd 100644
@@ -169,6 +169,7 @@ public class TestDistributedLogSplitting {
169	    conf.setInt(HConstants.REGIONSERVER_INFO_PORT, -1);	169	    conf.setInt(HConstants.REGIONSERVER_INFO_PORT,
-1);
170	    conf.setFloat(HConstants.LOAD_BALANCER_SLOP_KEY, (float) 100.0); // no load balancing
170	    conf.setFloat(HConstants.LOAD_BALANCER_SLOP_KEY, (float) 100.0); // no load balancing
171	    conf.setInt("hbase.regionserver.wal.max.splitters", 3);	171	    conf.setInt("hbase.regionserver.wal.max.splitters",
3);
172	    conf.setInt(HConstants.REGION_SERVER_HIGH_PRIORITY_HANDLER_COUNT, 10);
172	    TEST_UTIL.shutdownMiniHBaseCluster();	173	    TEST_UTIL.shutdownMiniHBaseCluster();
173	    TEST_UTIL = new HBaseTestingUtility(conf);	174	    TEST_UTIL = new HBaseTestingUtility(conf);
174	    TEST_UTIL.setDFSCluster(dfsCluster);	175	    TEST_UTIL.setDFSCluster(dfsCluster);
@@ -998,7 +999,7 @@ public class TestDistributedLogSplitting {
998	   * detects that the region server has aborted.	999	   * detects that the region server
has aborted.
999	   * @throws Exception	1000	   * @throws Exception
1000	   */	1001	   */
1001	  @Test (timeout=300000)		
1002	  @Ignore ("Disabled because flakey") @Test (timeout=300000)
1002	  public void testWorkerAbort() throws Exception {	1003	  public void testWorkerAbort()
throws Exception {
1003	    LOG.info("testWorkerAbort");	1004	    LOG.info("testWorkerAbort");
1004	    startCluster(3);	1005	    startCluster(3);
{code}

> Disable TestDistributedLogSplitting#testWorkerAbort Its flakey with tenuous chance of
success
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-14507
>                 URL: https://issues.apache.org/jira/browse/HBASE-14507
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>            Reporter: stack
>            Assignee: stack
>             Fix For: 2.0.0
>
>
> HBASE-14506 is to reenable it. Fails on apache build and locally for me. See log in HBASE-14506
for detail.



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

Mime
View raw message