Closed echeipesh closed 6 years ago
LGTM! About the explanation in README, I think it's not obvious by adding one line in "Use SBT's config to provide multiple setting combinations" section. Could you move the example to "Other available settings" part instead?
Released in sbt-lighter 1.2.0, with default emr release updated to 5.17.0.
This change exposes the EMR Bootstrap Actions configuration, allows to specify them explicitly. I tested this through
publishLocal
and it appears to work with or without theargs
specified.While writing this I realized that this is already possible by hooking into
sparkRunJobFlowRequest
but thats not at all obvious unless you're pretty familiar with the AWS SDK and not pretty either.If this looks good I would like to add
BootstrapAction!.fromFile(file)
method that would trigger an upload of bootstrap script duringsparkSubmit
andsparkSubmitMain
tasks in subsequent PR.