org.apache.hadoop.mapred
Class JobShell
java.lang.Object
  
org.apache.hadoop.conf.Configured
      
org.apache.hadoop.mapred.JobShell
- All Implemented Interfaces: 
 - Configurable, Tool
 
public class JobShell
- extends Configured
- implements Tool
  
Provide command line parsing for JobSubmission 
  job submission looks like 
  hadoop jar -libjars  -archives  
  -files  inputjar args
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
JobShell
public JobShell()
JobShell
public JobShell(Configuration conf)
init
protected void init()
             throws IOException
 
- Throws:
 IOException
 
run
public int run(String[] argv)
        throws Exception
- run method from Tool
- Specified by:
 run in interface Tool
 
- Parameters:
 argv - command specific arguments.
- Returns:
 - exit code.
 - Throws:
 Exception
 
 
main
public static void main(String[] argv)
                 throws Exception
 
- Throws:
 Exception
 
Copyright © 2008 The Apache Software Foundation