Created
October 21, 2013 19:45
-
-
Save pixie79/7089716 to your computer and use it in GitHub Desktop.
Python / Jython & pig 12.0
This file contains hidden or 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
#!/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