Installing Pig
This topic includes instructions for using package managers to download and install Pig from the EEP repository.
Prerequisites
IMPORTANT This component is deprecated. Hewlett Packard
Enterprise recommends using an alternate product. For more information, see Discontinued Ecosystem Components.
For instructions on setting
up the EEP repository, see Step 10: Install Ecosystem Components Manually.About this task
root
or using
sudo:
Procedure
-
On each planned Pig node, install
mapr-pig
:- Ubuntu
-
apt-get install mapr-pig
- RedHat/ CentOS
-
yum install mapr-pig
- SLES
-
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