org.apache.hama.util
Class RunJar

java.lang.Object
  extended by org.apache.hama.util.RunJar

public class RunJar
extends java.lang.Object

Run a Hama job jar.


Constructor Summary
RunJar()
           
 
Method Summary
static void main(java.lang.String[] args)
          Run a Hama job jar.
static void unJar(java.io.File jarFile, java.io.File toDir)
          Unpack a jar file into a directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunJar

public RunJar()
Method Detail

unJar

public static void unJar(java.io.File jarFile,
                         java.io.File toDir)
                  throws java.io.IOException
Unpack a jar file into a directory.

Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Throwable
Run a Hama job jar. If the main class is not in the jar's manifest, then it must be provided on the command line.

Throws:
java.lang.Throwable


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