public synchronized void updateTaskStatistics(MapRedStats mapRedStats,
      RunningJob rj, String taskId) throws IOException, JSONException {
    if (tasks.containsKey(taskId)) {
      tasks.get(taskId).updateMapRedStatsJson(mapRedStats, rj);
    }
  }
Preferred objectMapper for this class.

It must be used to have things work in shaded environment (and its also more performant).
ql/src/java/org/apache/hadoop/hive/ql/QueryDisplay.java