public static Path getWALTableDir(final Configuration conf, final TableName tableName)
    throws IOException {
    Path baseDir = new Path(getWALRootDir(conf), HConstants.BASE_NAMESPACE_DIR);
    return new Path(new Path(baseDir, tableName.getNamespaceAsString()),
      tableName.getQualifierAsString());
  }
Returns the Table directory under the WALRootDir for the specified table name
@param conf      configuration used to get the WALRootDir
@param tableName Table to get the directory for
@return a path to the WAL table directory for the specified table
@throws IOException if there is an exception determining the WALRootDir
hbase-common/src/main/java/org/apache/hadoop/hbase/util/CommonFSUtils.java