Skip to content

Instantly share code, notes, and snippets.

@pixie79
Created October 21, 2013 19:45
Show Gist options
  • Save pixie79/7089716 to your computer and use it in GitHub Desktop.
Save pixie79/7089716 to your computer and use it in GitHub Desktop.
Python / Jython & pig 12.0
#!/bin/bash
set -e
sudo apt-get install jython python-jpype
#statements
cd /home/hadoop
git clone git://git.apache.org/pig.git apache-pig
cd apache-pig
git checkout release-0.12.0
ant
ln -s /home/hadoop/apache-pig/bin/pig /home/hadoop/bin/pig
ln -s /home/hadoop/apache-pig/pig-withouthadoop.jar /home/hadoop/pig-withouthadoop.jar
ln -s /home/hadoop/apache-pig/pig.jar /home/hadoop/pig.jar
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment