* Split and verify test logs for the specified table
*/
private void splitTestLogs(final byte[] tableName, final Map<byte[], byte[]> regionsMap)
throws IOException {
Path tableDir = new Path(TEST_UTIL.getDataTestDir(), Bytes.toString(tableName));
SnapshotLogSplitter logSplitter = new SnapshotLogSplitter(conf, fs, tableDir,
tableName, regionsMap);
try {
logSplitter.splitLog(logFile);
} finally {
logSplitter.close();
}
verifyRecoverEdits(tableDir, tableName, regionsMap);
}