public static Path getWALRegionDir(final Configuration conf, final TableName tableName,
    final String encodedRegionName) throws IOException {
    return new Path(getWALTableDir(conf, tableName), encodedRegionName);
  }
Returns the WAL region directory based on the given table name and region name
@param conf              configuration to determine WALRootDir
@param tableName         Table that the region is under
@param encodedRegionName Region name used for creating the final region directory
@return the region directory used to store WALs under the WALRootDir
@throws IOException if there is an exception determining the WALRootDir
hbase-common/src/main/java/org/apache/hadoop/hbase/util/CommonFSUtils.java