When creating an EMR cluster via the UI, I can click 'enable debugging'.
Via the cli, I can add the parameter --enable-debugging.
How can I do it via cloudformation? I did give a LogUri, where I do see the logs, but the EMR web UI carries on telling me 'Debugging not configured' when running Spark jobs.
It just is added as the first step in the steps...so the equivalent of the below in CloudFormation config.
"Steps": [{
"Name": "Setup Hadoop Debugging",
"ActionOnFailure": "TERMINATE_CLUSTER",
"HadoopJarStep": {
"Jar": "command-runner.jar",
"Args": ["state-pusher-script"]
}
}]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With