protected final Path getWALRegionDir(MasterProcedureEnv env, RegionInfo region)
    throws IOException {
    return CommonFSUtils.getWALRegionDir(env.getMasterConfiguration(), region.getTable(),
      region.getEncodedName());
  }
Check whether a table is modifiable - exists and either offline or online with config set
@param env MasterProcedureEnv
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/AbstractStateMachineTableProcedure.java