public static void main(String[] args) throws IOException {
    Configuration conf = HBaseConfiguration.create();
    if (args == null || args.length != 1) {
      System.out.println("ERROR: Empty arguments list; pass path to MASTERPROCWALS_DIR.");
      System.out.println("Usage: WALProcedureStore MASTERPROCWALS_DIR");
      System.exit(-1);
    }
    WALProcedureStore store =
      new WALProcedureStore(conf, new Path(args[0]), null, new LeaseRecovery() {
        @Override
        public void recoverFileLease(FileSystem fs, Path path) throws IOException {
          // no-op
        }
      });
    try {
      store.start(16);
      ProcedureExecutor<?> pe =
        new ProcedureExecutor<>(conf, new Object()/* Pass anything */, store);
      pe.init(1, true);
    } finally {
      store.stop(true);
    }
  }
Parses a directory of WALs building up ProcedureState. For testing parse and profiling.
@param args Include pointer to directory of WAL files for a store instance to parse & load.
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/wal/WALProcedureStore.java