Skip to content

Instantly share code, notes, and snippets.

@ivankelly
Created March 1, 2012 12:25
Show Gist options
  • Save ivankelly/1949508 to your computer and use it in GitHub Desktop.
Save ivankelly/1949508 to your computer and use it in GitHub Desktop.
#!/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