public static interface HadoopShims.WebHCatJTShim
Modifier and Type | Method and Description |
---|---|
void |
addCacheFile(URI uri,
org.apache.hadoop.mapreduce.Job job)
Does exactly what org.apache.hadoop.mapreduce.Job#addCacheFile(URI) in Hadoop 2.
|
void |
close()
Close the connection to the Job Tracker.
|
org.apache.hadoop.mapred.JobStatus[] |
getAllJobs()
Get all the jobs submitted.
|
org.apache.hadoop.mapred.JobProfile |
getJobProfile(org.apache.hadoop.mapred.JobID jobid)
Grab a handle to a job that is already known to the JobTracker.
|
Set<String> |
getJobs(String tag,
long timestamp)
Returns all jobs tagged with the given tag that have been started after the
given timestamp.
|
org.apache.hadoop.mapred.JobStatus |
getJobStatus(org.apache.hadoop.mapred.JobID jobid)
Grab a handle to a job that is already known to the JobTracker.
|
void |
killJob(org.apache.hadoop.mapred.JobID jobid)
Kill a job.
|
void |
killJobs(String tag,
long timestamp)
Kills all jobs tagged with the given tag that have been started after the
given timestamp.
|
org.apache.hadoop.mapred.JobProfile getJobProfile(org.apache.hadoop.mapred.JobID jobid) throws IOException
IOException
org.apache.hadoop.mapred.JobStatus getJobStatus(org.apache.hadoop.mapred.JobID jobid) throws IOException
IOException
void killJob(org.apache.hadoop.mapred.JobID jobid) throws IOException
IOException
org.apache.hadoop.mapred.JobStatus[] getAllJobs() throws IOException
IOException
void close()
void addCacheFile(URI uri, org.apache.hadoop.mapreduce.Job job)
null
.void killJobs(String tag, long timestamp)
Copyright © 2017 The Apache Software Foundation. All rights reserved.