Install the Pig Package
On all the hosts where you execute Pig programs, install the package.
For RHEL or CentOS:
yum install pig
For SLES:
zypper install pig
For Ubuntu or Debian:
apt-get install pig
The package installs Pig libraries to /usr/hdp/current/pig-client
.
Pig configuration files are placed in
/usr/hdp/current/pig-client/conf
.