org.apache.hadoop.util
Class RunJar
java.lang.Object
org.apache.hadoop.util.RunJar
public class RunJar
- extends Object
Run a Hadoop job jar.
Method Summary |
static void |
main(String[] args)
Run a Hadoop job jar. |
static void |
unJar(File jarFile,
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 |
RunJar
public RunJar()
unJar
public static void unJar(File jarFile,
File toDir)
throws IOException
- Unpack a jar file into a directory.
- Throws:
IOException
main
public static void main(String[] args)
throws Throwable
- Run a Hadoop job jar. If the main class is not in the jar's manifest,
then it must be provided on the command line.
- Throws:
Throwable
Copyright © 2009 The Apache Software Foundation