public HadoopJarStepConfig newScriptRunnerStep ( String script , String ... args ) { List < String > argsList = new ArrayList < String > ( ) ; argsList . add ( script ) ; for ( String arg : args ) { argsList . add ( arg ) ; } return new HadoopJarStepConfig ( ) . withJar ( "s3://" + bucket + "/libs/script-runner/script-runner.jar" ) . withArgs ( argsList ) ; }
Runs a specified script on the master node of your cluster .