From d5debe15b5a20c559fabbdb82ce2e1598c8f3030 Mon Sep 17 00:00:00 2001 From: Anjan Das Date: Sun, 17 Jan 2021 16:31:07 +0530 Subject: [PATCH] HBASE-25475 : Unset zk based wal splitting explicitly in tests (ADDENDUM) (#2891) Signed-off-by: Viraj Jasani --- .../java/org/apache/hadoop/hbase/master/TestSplitWALManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestSplitWALManager.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestSplitWALManager.java index 40adbeaf9fe2..e1f318869bab 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestSplitWALManager.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestSplitWALManager.java @@ -248,6 +248,7 @@ public void testSplitLogs() throws Exception { @Test public void testSplitLogsWithDifferentWalAndRootFS() throws Exception{ HBaseTestingUtility testUtil2 = new HBaseTestingUtility(); + testUtil2.getConfiguration().setBoolean(HBASE_SPLIT_WAL_COORDINATED_BY_ZK, false); testUtil2.getConfiguration().setInt(HBASE_SPLIT_WAL_MAX_SPLITTER, 1); Path dir = TEST_UTIL.getDataTestDirOnTestFS("testWalDir"); testUtil2.getConfiguration().set(CommonFSUtils.HBASE_WAL_DIR, dir.toString());