This topic includes instructions for using package managers to download and install Pig
from the MEP repository.
On a MapR cluster, execute the following commands as root or using
sudo:
-
On each planned Pig node, install
mapr-pig:
- Ubuntu
-
apt-get install mapr-pig
- RedHat/ CentOS
-
yum install mapr-pig
- SUSE
-
zypper install mapr-pig
-
Make sure the
JAVA_HOME environment variable is set correctly. For
example:
# export JAVA_HOME=/usr/lib/jvm/java-<version>-sun