final ClientEndpoint endpoint = getEndpoint();
MapReduceService mapReduceService = getService();
JobSupervisor supervisor = mapReduceService.getJobSupervisor(name, jobId);
JobProcessInformation processInformation = null;
if (supervisor != null && supervisor.getJobProcessInformation() != null) {
JobProcessInformation current = supervisor.getJobProcessInformation();
processInformation = new TransferableJobProcessInformation(current.getPartitionStates(),
current.getProcessedRecords());
}
endpoint.sendResponse(processInformation, getCallId());
}