code: public HadoopJarStepConfig newInstallPigStep(String... pigVersions) {
          if (pigVersions != null && pigVersions.length > 0) {
              return newHivePigStep("pig", "--install-pig", "--pig-versions",
                      StringUtils.join(",", pigVersions));
          }
          return newHivePigStep("pig", "--install-pig", "--pig-versions", "latest");
      }
docs: Step that installs Pig on your job flow.
  
  @param pigVersions the versions of Pig to install.
  
  @return HadoopJarStepConfig that can be passed to your job flow.