Skip to content

Instantly share code, notes, and snippets.

@ikegami-yukino
Last active August 29, 2015 14:04
Show Gist options
  • Save ikegami-yukino/0018107bdb7f7a2a0e0f to your computer and use it in GitHub Desktop.
Save ikegami-yukino/0018107bdb7f7a2a0e0f to your computer and use it in GitHub Desktop.
Apache Pig Installation on Ubuntu
wget http://ftp.kddilabs.jp/infosystems/apache/pig/latest/pig-0.13.0.tar.gz
tar -xvf pig-0.13.0.tar.gz
sudo mv pig-0.13.0 /usr/local/pig
rm pig-0.13.0.tar.gz
echo 'export PIG_HOME=/usr/local/pig' >> ~/.bashrc
echo 'export PATH=$PATH:$PIG_HOME/bin' >> ~/.bashrc
echo 'export PIG_CLASSPATH=$HADOOP_HOME/conf/' >> ~/.bashrc
source ~/.bashrc
pig -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment