Run Distributed Scripting Engine
TODO CODE
public static class CustomScriptingEngine { public String scriptLang; // Currently only "javascript" is supported public String globalScript; // Script that is available to map/combine/reduce scripts public String mapScript; // (OPTIONAL) If specified, additional script code that is only applied in the mapper (a function "map(key, value)" must be specified either here or in the global) public String combineScript; // (OPTIONAL) If specified, additional script code that is only applied in the combiner (a function "combine(key, values)" must be specified either here or in the global if the combiner is to be run, which is optional) public String reduceScript; // (OPTIONAL) If specified, additional script code that is only applied in the combiner (a function "reduce(key, values)" must be specified either here or in the global if the reducer is to be run, which is optional) public Boolean memoryOptimized; // (OPTIONAL - defaults to true) If specified, a (very-slightly) slower but more memory efficient method is used (should be left as true except for legacy applications) public Integer numReducers; // Specifies the number of reducers to use (OPTIONAL default: 1) }