private void deleteDir(final Path p) throws IOException {
    if (this.fs.exists(p)) {
      if (!this.fs.delete(p, true)) {
        throw new IOException("Failed remove of " + p);
      }
    }
  }
Creates an HRI around an HTD that has <code>tableName</code>.
@param tableName Name of table to use.
hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestWALObserver.java