The following procedures use the operating system package managers to download and install Pig from the MapR Repository. For instructions on setting up the ecosystem repository (which includes Pig), see Preparing Packages and Repositories.
On a MapR cluster, execute the following commands as
root or using
Update the list of available packages:On Ubuntu...On RedHat/ CentOS...
On each planned Pig node, install
mapr-pig:On Ubuntu...On RedHat/ CentOS...
Make sure the environment variable
JAVA_HOMEis set correctly.