private String convertTimeMs(long timeMs) {
    if (timeMs < 1000) {
      return Long.toString(timeMs) + " msec";
    }
    return DurationFormatUtils.formatDuration(timeMs, "HH:mm:ss") + " HH:MM:SS";
  }
This Heuristic analyses the skewness in the task input data
app/com/linkedin/drelephant/tez/heuristics/GenericDataSkewHeuristic.java