-
Notifications
You must be signed in to change notification settings - Fork 28.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-16881][MESOS] Migrate Mesos configs to use ConfigEntry #15654
Conversation
Test build #67614 has finished for PR 15654 at commit
|
Thanks! One small fix then LGTM |
@@ -51,7 +52,7 @@ private[mesos] class MesosClusterDispatcher( | |||
extends Logging { | |||
|
|||
private val publicAddress = Option(conf.getenv("SPARK_PUBLIC_DNS")).getOrElse(args.host) | |||
private val recoveryMode = conf.get("spark.deploy.recoveryMode", "NONE").toUpperCase() | |||
private val recoveryMode = conf.get(RECOVERY_MODE).getOrElse("NONE").toUpperCase() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't the "NONE" default be added to the config builder?
Test build #67823 has finished for PR 15654 at commit
|
@mgummelt done! 👍 |
cc @srowen for merge into master |
Merged to master |
Thanks @techaddict. Another PR to move the rest of the configs would be very welcome. |
@mgummelt yes working on it. |
## What changes were proposed in this pull request? Migrate Mesos configs to use ConfigEntry ## How was this patch tested? Jenkins Tests Author: Sandeep Singh <sandeep@techaddict.me> Closes apache#15654 from techaddict/SPARK-16881.
What changes were proposed in this pull request?
Migrate Mesos configs to use ConfigEntry
How was this patch tested?
Jenkins Tests