Upgrading Pig

Upgrading Pig from CDH 4 to CDH 5

To upgrade Pig to CDH 5:

Step 1: Remove Pig

  1. Exit the Grunt shell and make sure no Pig scripts are running.
  2. Remove the CDH 4 version of Pig

To remove Pig On RHEL-compatible systems:

$ sudo yum remove hadoop-pig

To remove Pig on SLES systems:

$ sudo zypper remove pig

To remove Pig on Ubuntu and other Debian systems:

$ sudo apt-get remove pig

Step 2: Install the new version

Follow the instructions in the next section, Installing Pig.

Upgrading Pig from an Earlier CDH 5 release

The instructions that follow assume that you are upgrading Pig as part of a CDH 5 upgrade, and have already performed the steps under Upgrading from an Earlier CDH 5 Release to the Latest Release.

To upgrade Pig from an earlier CDH 5 release:

  1. Exit the Grunt shell and make sure no Pig scripts are running.
  2. Install the new version, following the instructions in the next section, Installing Pig.