org.apache.hadoop.hive.shims
Interface HadoopShims.WebHCatJTShim

Enclosing interface:
HadoopShims

public static interface HadoopShims.WebHCatJTShim


Method Summary
 void close()
          Close the connection to the Job Tracker.
 JobStatus[] getAllJobs()
          Get all the jobs submitted.
 JobProfile getJobProfile(org.apache.hadoop.mapred.JobID jobid)
          Grab a handle to a job that is already known to the JobTracker.
 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.
 

Method Detail

getJobProfile

JobProfile getJobProfile(org.apache.hadoop.mapred.JobID jobid)
                         throws IOException
Grab a handle to a job that is already known to the JobTracker.

Returns:
Profile of the job, or null if not found.
Throws:
IOException

getJobStatus

JobStatus getJobStatus(org.apache.hadoop.mapred.JobID jobid)
                       throws IOException
Grab a handle to a job that is already known to the JobTracker.

Returns:
Status of the job, or null if not found.
Throws:
IOException

killJob

void killJob(org.apache.hadoop.mapred.JobID jobid)
             throws IOException
Kill a job.

Throws:
IOException

getAllJobs

JobStatus[] getAllJobs()
                       throws IOException
Get all the jobs submitted.

Throws:
IOException

close

void close()
Close the connection to the Job Tracker.



Copyright © 2012 The Apache Software Foundation