public static FileSystem getRootDirFileSystem(final Configuration c) throws IOException {
    Path p = getRootDir(c);
    return p.getFileSystem(c);
  }
Get the path for the root data directory
@param c configuration
@return {@link Path} to hbase root directory from configuration as a qualified Path.
@throws IOException e
hbase-common/src/main/java/org/apache/hadoop/hbase/util/CommonFSUtils.java