public static FileSystem getCurrentFileSystem(Configuration conf) throws IOException {
    return getRootDir(conf).getFileSystem(conf);
  }
Returns the filesystem of the hbase rootdir.
@throws IOException from underlying FileSystem
hbase-common/src/main/java/org/apache/hadoop/hbase/util/CommonFSUtils.java