Description
The current setup in TestWALFactory tries to create custom WAL directory outside hdfs but ends up creating a custom WAL directory inside hdfs. In TestWALFactory.java:
public static void setUpBeforeClass() throws Exception { CommonFSUtils.setWALRootDir(TEST_UTIL.getConfiguration(), new Path("file:///tmp/wal")); // A local filesystem WAL is attempted ... hbaseDir = TEST_UTIL.createRootDir(); hbaseWALDir = TEST_UTIL.createWALRootDir(); // But a directory inside hdfs is created here using HBaseTestingUtility#getNewDataTestDirOnTestFS }
The change was made in HBASE-20723