@Override
        public GetTaskReportsResponse getTaskReports(GetTaskReportsRequest request) throws IOException {
            JobId jobId = request.getJobId();
            TaskType taskType = request.getTaskType();

            GetTaskReportsResponse response = recordFactory.newRecordInstance(GetTaskReportsResponse.class);
            Job job = verifyAndGetJob(jobId, true);
            Collection<Task> tasks = job.getTasks(taskType).values();
            for (Task task : tasks) {
                response.addTaskReport(task.getReport());
            }
            return response;
        }
This module is responsible for talking to the
JobClient (user facing).
history-server/src/main/java/net/qihoo/hbox/jobhistory/HistoryClientService.java