Created
March 1, 2012 12:25
-
-
Save ivankelly/1949508 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/bash | |
for i in deps/*.jar; do | |
HADOOP_CLASSPATH=$HADOOP_CLASSPATH:$i | |
LIBJARS=$LIBJARS,$i | |
done | |
export HADOOP_CLASSPATH | |
export LIBJARS | |
hadoop jar myjob-1.0-SNAPSHOT.jar com.foobar.MyJob -libjars $LIBJARS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment