org.apache.avro.mapred.tether
Class TetherJob

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.avro.mapred.tether.TetherJob
All Implemented Interfaces:
Configurable

public class TetherJob
extends Configured

Constructs and submits tether jobs. This may be used as an API-based method to launch tether jobs.


Constructor Summary
TetherJob()
           
 
Method Summary
static URI getExecutable(JobConf job)
          Get the URI of the application's executable.
static RunningJob runJob(JobConf job)
          Submit a job to the map/reduce cluster.
static void setExecutable(JobConf job, URI executable)
          Set the URI for the application's executable.
static RunningJob submitJob(JobConf conf)
          Submit a job to the Map-Reduce framework.
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TetherJob

public TetherJob()
Method Detail

getExecutable

public static URI getExecutable(JobConf job)
Get the URI of the application's executable.


setExecutable

public static void setExecutable(JobConf job,
                                 URI executable)
Set the URI for the application's executable. Normally this in HDFS.


runJob

public static RunningJob runJob(JobConf job)
                         throws IOException
Submit a job to the map/reduce cluster. All of the necessary modifications to the job to run under tether are made to the configuration.

Throws:
IOException

submitJob

public static RunningJob submitJob(JobConf conf)
                            throws IOException
Submit a job to the Map-Reduce framework.

Throws:
IOException


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.