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" ) ; }
Step that installs Pig on your job flow .