org.apache.tez.mapreduce.client
Class ClientServiceDelegate

java.lang.Object
  extended by org.apache.tez.mapreduce.client.ClientServiceDelegate

public class ClientServiceDelegate
extends Object


Constructor Summary
ClientServiceDelegate(org.apache.hadoop.conf.Configuration conf, ResourceMgrDelegate rm, org.apache.hadoop.mapreduce.JobID jobId)
           
 
Method Summary
 org.apache.hadoop.mapreduce.Counters getJobCounters(org.apache.hadoop.mapreduce.JobID jobId)
           
 org.apache.hadoop.mapreduce.JobStatus getJobStatus(org.apache.hadoop.mapreduce.JobID oldJobID)
           
 org.apache.hadoop.mapreduce.v2.LogParams getLogFilePath(org.apache.hadoop.mapreduce.JobID oldJobID, org.apache.hadoop.mapreduce.TaskAttemptID oldTaskAttemptID)
           
 org.apache.hadoop.mapreduce.TaskCompletionEvent[] getTaskCompletionEvents(org.apache.hadoop.mapreduce.JobID jobId, int fromEventId, int maxEvents)
           
 String[] getTaskDiagnostics(org.apache.hadoop.mapreduce.TaskAttemptID taId)
           
 org.apache.hadoop.mapreduce.TaskReport[] getTaskReports(org.apache.hadoop.mapreduce.JobID oldJobID, org.apache.hadoop.mapreduce.TaskType taskType)
           
 boolean killJob(org.apache.hadoop.mapreduce.JobID oldJobID)
           
 boolean killTask(org.apache.hadoop.mapreduce.TaskAttemptID taskAttemptID, boolean fail)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientServiceDelegate

public ClientServiceDelegate(org.apache.hadoop.conf.Configuration conf,
                             ResourceMgrDelegate rm,
                             org.apache.hadoop.mapreduce.JobID jobId)
Method Detail

getJobCounters

public org.apache.hadoop.mapreduce.Counters getJobCounters(org.apache.hadoop.mapreduce.JobID jobId)
                                                    throws IOException,
                                                           InterruptedException
Throws:
IOException
InterruptedException

getTaskCompletionEvents

public org.apache.hadoop.mapreduce.TaskCompletionEvent[] getTaskCompletionEvents(org.apache.hadoop.mapreduce.JobID jobId,
                                                                                 int fromEventId,
                                                                                 int maxEvents)
                                                                          throws IOException,
                                                                                 InterruptedException
Throws:
IOException
InterruptedException

getTaskDiagnostics

public String[] getTaskDiagnostics(org.apache.hadoop.mapreduce.TaskAttemptID taId)
                            throws IOException,
                                   InterruptedException
Throws:
IOException
InterruptedException

getJobStatus

public org.apache.hadoop.mapreduce.JobStatus getJobStatus(org.apache.hadoop.mapreduce.JobID oldJobID)
                                                   throws IOException
Throws:
IOException

getTaskReports

public org.apache.hadoop.mapreduce.TaskReport[] getTaskReports(org.apache.hadoop.mapreduce.JobID oldJobID,
                                                               org.apache.hadoop.mapreduce.TaskType taskType)
                                                        throws IOException
Throws:
IOException

killTask

public boolean killTask(org.apache.hadoop.mapreduce.TaskAttemptID taskAttemptID,
                        boolean fail)
                 throws IOException
Throws:
IOException

killJob

public boolean killJob(org.apache.hadoop.mapreduce.JobID oldJobID)
                throws IOException
Throws:
IOException

getLogFilePath

public org.apache.hadoop.mapreduce.v2.LogParams getLogFilePath(org.apache.hadoop.mapreduce.JobID oldJobID,
                                                               org.apache.hadoop.mapreduce.TaskAttemptID oldTaskAttemptID)
                                                        throws org.apache.hadoop.yarn.exceptions.YarnException,
                                                               IOException
Throws:
org.apache.hadoop.yarn.exceptions.YarnException
IOException


Copyright © 2014 Apache Software Foundation. All rights reserved.