public static List<ExecDriver> getMRTasks(List<Task<?>> tasks) {
    return getTasks(tasks, new TaskFilterFunction<>(ExecDriver.class));
  }
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