private void getTaskData(String dagId, List<TezTaskData> taskList, boolean isMapTask)
            throws IOException, AuthenticationException {

      for(int i=0; i<taskList.size(); i++) {
        TezTaskData data = taskList.get(i);
        URL taskCounterURL = getTaskURL(data.getTaskId());
        TezCounterData taskCounter = getTaskCounter(taskCounterURL);

        URL taskAttemptURL = getTaskAttemptURL(dagId, data.getTaskId(), data.getAttemptId());
        long[] taskExecTime = getTaskExecTime(taskAttemptURL, isMapTask);

        data.setCounter(taskCounter);
        data.setTime(taskExecTime);
      }

    }
JSONFactory class provides functionality to parse mined job data from timeline server.
app/com/linkedin/drelephant/tez/fetchers/TezFetcher.java