public class ClientServiceDelegate extends Object
| Constructor and Description |
|---|
ClientServiceDelegate(Configuration conf,
ResourceMgrDelegate rm,
JobID jobId,
MRClientProtocol historyServerProxy) |
| Modifier and Type | Method and Description |
|---|---|
Counters |
getJobCounters(JobID arg0) |
JobStatus |
getJobStatus(JobID oldJobID) |
LogParams |
getLogFilePath(JobID oldJobID,
TaskAttemptID oldTaskAttemptID) |
int |
getMaxClientRetry() |
TaskCompletionEvent[] |
getTaskCompletionEvents(JobID arg0,
int arg1,
int arg2) |
String[] |
getTaskDiagnostics(TaskAttemptID arg0) |
TaskReport[] |
getTaskReports(JobID oldJobID,
TaskType taskType) |
boolean |
killJob(JobID oldJobID) |
boolean |
killTask(TaskAttemptID taskAttemptID,
boolean fail) |
public ClientServiceDelegate(Configuration conf, ResourceMgrDelegate rm, JobID jobId, MRClientProtocol historyServerProxy)
public int getMaxClientRetry()
public Counters getJobCounters(JobID arg0) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic TaskCompletionEvent[] getTaskCompletionEvents(JobID arg0, int arg1, int arg2) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic String[] getTaskDiagnostics(TaskAttemptID arg0) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic JobStatus getJobStatus(JobID oldJobID) throws IOException
IOExceptionpublic TaskReport[] getTaskReports(JobID oldJobID, TaskType taskType) throws IOException
IOExceptionpublic boolean killTask(TaskAttemptID taskAttemptID, boolean fail) throws IOException
IOExceptionpublic boolean killJob(JobID oldJobID) throws IOException
IOExceptionpublic LogParams getLogFilePath(JobID oldJobID, TaskAttemptID oldTaskAttemptID) throws IOException
IOExceptionCopyright © 2013 Apache Software Foundation. All rights reserved.