protected WALProvider.Writer createWriter(Path logfile) throws IOException {
    return walFactory.createRecoveredEditsWriter(walFS, logfile);
  }
Create a new {@link WALProvider.Writer} for writing log splits.
@return a new Writer instance, caller should close
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALSplitter.java