public static FileStatus[] listNonHiddenFileStatus(Configuration job, Path dirPath)
      throws IOException {
    FileSystem inpFs = dirPath.getFileSystem(job);
    try {
      return inpFs.listStatus(dirPath, FileUtils.HIDDEN_FILES_PATH_FILTER);
    } catch (FileNotFoundException e) {
      return new FileStatus[] {};
    }
  }
Performs a ContentSummary lookup over a set of paths using 1 or more
threads. The 'summary' argument is directly modified.

@param ctx
@param pathNeedProcess
@param work
@param summary
@param executor
@throws IOException
ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java