public static void setWALRootDir(final Configuration c, final Path root) {
    c.set(HBASE_WAL_DIR, root.toString());
  }
Returns the URI in the string format
@param c configuration
@param p path
@return - the URI's to string format
hbase-common/src/main/java/org/apache/hadoop/hbase/util/CommonFSUtils.java