From 0d7fc87427b19998486880ac2d1c6933a628a194 Mon Sep 17 00:00:00 2001 From: Anjan Date: Sat, 16 Jan 2021 17:06:39 +0530 Subject: [PATCH] HBASE-25475: Unset zk based wal splitting explicitly in tests --- .../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());