public void close() {
    if (stream == null) {
      return;
    }

    try {
      stream.close();
    } catch (IOException e) {
      LOG.warn("unable to close the wal file: " + logFile, e);
    } finally {
      stream = null;
    }
  }
Describes a WAL File
@deprecated Since 2.3.0, will be removed in 4.0.0. Keep here only for rolling upgrading, now we
            use the new region based procedure store.
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/wal/ProcedureWALFile.java