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

@param script
           The script to run.
@param hiveVersion
           The Hive 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