Example usage for Java org.apache.hadoop.mapred JobClient fields, constructors, methods, implement or subclass
The text is from its open source code.
JobClient(JobConf conf) Build a job client with the given JobConf , and connect to the default cluster | |
JobClient(Configuration conf) Build a job client with the given Configuration , and connect to the default cluster | |
JobClient() Create a job client. | |
JobClient(InetSocketAddress jobTrackAddr, Configuration conf) Build a job client, connect to the indicated job tracker. |
void | cancelDelegationToken(Token Cancel a delegation token from the JobTracker |
void | close() Close the JobClient . |
JobStatus[] | getAllJobs() Get the jobs that are submitted. |
TaskReport[] | getCleanupTaskReports(JobID jobId) Get the information of the current state of the cleanup tasks of a job. |
ClusterStatus | getClusterStatus() Get status information about the Map-Reduce cluster. |
ClusterStatus | getClusterStatus(boolean detailed) Get status information about the Map-Reduce cluster. |
Configuration | getConf() |
Token | getDelegationToken(final Text renewer) Get a delegation token for the user from the JobTracker. |
FileSystem | getFs() Get a filesystem handle. |
RunningJob | getJob(final JobID jobid) Get an RunningJob object to track an ongoing job. |
RunningJob | getJob(String jobid) |
TaskReport[] | getMapTaskReports(JobID jobId) Get the information of the current state of the map tasks of a job. |
TaskReport[] | getMapTaskReports(String jobId) |
QueueAclsInfo[] | getQueueAclsForCurrentUser() Gets the Queue ACLs for current user |
JobQueueInfo | getQueueInfo(final String queueName) Gets the queue information associated to a particular Job Queue |
JobQueueInfo[] | getQueues() Return an array of queue information objects about all the Job Queues configured. |
TaskReport[] | getReduceTaskReports(JobID jobId) Get the information of the current state of the reduce tasks of a job. |
TaskReport[] | getReduceTaskReports(String jobId) |
TaskReport[] | getSetupTaskReports(JobID jobId) Get the information of the current state of the setup tasks of a job. |
Path | getSystemDir() Grab the jobtracker system directory path where job-specific files are to be placed. |
JobStatus[] | jobsToComplete() Get the jobs that are not completed and not failed. |
boolean | monitorAndPrintJob(JobConf conf, RunningJob job) Monitor a job and print status in real-time as progress is made and tasks fail. |
RunningJob | runJob(JobConf job) Utility that submits a job, then polls for progress until the job is complete. |
void | setConf(Configuration conf) |
void | setTaskOutputFilter(JobConf job, TaskStatusFilter newValue) Modify the JobConf to set the task output filter. |
RunningJob | submitJob(String jobFile) Submit a job to the MR system. |
RunningJob | submitJob(final JobConf conf) Submit a job to the MR system. |