public static boolean computeHistograms(Configuration conf) {
    return HiveConf.getBoolVar(conf, HiveConf.ConfVars.HIVE_STATS_KLL_ENABLE,
        HiveConf.ConfVars.HIVE_STATS_KLL_ENABLE.defaultBoolVal);
  }
Get all file status from a root path and recursively go deep into certain levels.

@param path
         the root path
@param level
         the depth of directory to explore
@param fs
         the file system
@return array of FileStatus
@throws IOException
common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java