public HadoopJarStepConfig newRunPigScriptStep(String script,
        String pigVersion, String... scriptArgs) {
        List<String> pigArgs = new ArrayList<String>();
        pigArgs.add("--pig-versions");
        pigArgs.add(pigVersion);
        pigArgs.add("--run-pig-script");
        pigArgs.add("--args");
        pigArgs.add("-f");
        pigArgs.add(script);
        pigArgs.addAll(Arrays.asList(scriptArgs));
        return newHivePigStep("pig", pigArgs.toArray(new String[0]));
    }
Step that runs a Pig script on your job flow using the specified Pig version.

@param script
           The script to run.
@param pigVersion
           The Pig version to use.
@param scriptArgs
           Arguments that get passed to the script.
@return HadoopJarStepConfig that can be passed to your job flow.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/util/StepFactory.java