private Path runWALSplit(final Configuration c) throws IOException {
    List<Path> splits =
      WALSplitter.split(hbaseRootDir, logDir, oldLogDir, FileSystem.get(c), c, wals);
    // Split should generate only 1 file since there's only 1 region
    assertEquals(1, splits.size());
    // Make sure the file exists
    assertTrue(fs.exists(splits.get(0)));
    LOG.info("Split file=" + splits.get(0));
    return splits.get(0);
  }
Creates an HRI around an HTD that has <code>tableName</code>.
@param tableName Name of table to use.
hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestWALObserver.java