Open LamaBimal opened 5 years ago
Using this as the issue for tracking addition of the V2 equivalent of StepFactory.
I am using following to enable EMR Debugging
HadoopJarStepConfig hadoopJarStepConfig = HadoopJarStepConfig
.builder()
.jar("command-runner.jar")
.args("state-pusher-script")
.build();
StepConfig enableDebugging = StepConfig
.builder()
.name("Enable Debugging")
.hadoopJarStep(hadoopJarStepConfig)
.build();
and later in then in RunJobFlowRequest it looks like this:
RunJobFlowRequest request = RunJobFlowRequest.builder()
...
.steps(enableDebugging)
.build();
https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/elasticmapreduce/util/StepFactory.html#newEnableDebuggingStep As per AWS sdk java version 1, we have enable Debugging Step, How Could we implement it version 2?