-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-30887][CORE][DOC] Add version information to the configuration of Deploy #27668
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
Conversation
cc @HyukjinKwon I think we should also add version info for other modules. |
Test build #118791 has finished for PR 27668 at commit
|
retest this please |
Test build #118795 has finished for PR 27668 at commit
|
Test build #118806 has finished for PR 27668 at commit
|
@HyukjinKwon |
Test build #118810 has finished for PR 27668 at commit
|
Test build #118811 has finished for PR 27668 at commit
|
core/src/main/scala/org/apache/spark/internal/config/Deploy.scala
Outdated
Show resolved
Hide resolved
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.
We can remove the commit logs in the comments at the codes (sorry I meant to add a Github comment on this PR for reviewers). Looks fine to me. I will take a close look and merge if it's not merged in few days.
|
||
private[spark] object Deploy { | ||
val RECOVERY_MODE = ConfigBuilder("spark.deploy.recoveryMode") | ||
.version("0.8.1") |
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.
No JIRA ID, commit ID: d66c01f
.createWithDefault("NONE") | ||
|
||
val RECOVERY_MODE_FACTORY = ConfigBuilder("spark.deploy.recoveryMode.factory") | ||
.version("1.2.0") |
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.
SPARK-1830 commit ID: deefd9d
This configuration appears in branch-1.3, but the version number in the pom.xml file corresponding to the commit is 1.2.0-SNAPSHOT
.createWithDefault("") | ||
|
||
val RECOVERY_DIRECTORY = ConfigBuilder("spark.deploy.recoveryDirectory") | ||
.version("0.8.1") |
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.
No JIRA ID, commit ID: d66c01f
val ZOOKEEPER_URL = ConfigBuilder("spark.deploy.zookeeper.url") | ||
.doc(s"When `${RECOVERY_MODE.key}` is set to ZOOKEEPER, this " + | ||
"configuration is used to set the zookeeper URL to connect to.") | ||
.version("0.8.1") |
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.
No JIRA ID, commit ID: d66c01f
.createOptional | ||
|
||
val ZOOKEEPER_DIRECTORY = ConfigBuilder("spark.deploy.zookeeper.dir") | ||
.version("0.8.1") |
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.
No JIRA ID, commit ID: d66c01f
.createOptional | ||
|
||
val RETAINED_APPLICATIONS = ConfigBuilder("spark.deploy.retainedApplications") | ||
.version("0.8.0") |
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.
No JIRA ID, commit ID: 46eecd1
.createWithDefault(200) | ||
|
||
val RETAINED_DRIVERS = ConfigBuilder("spark.deploy.retainedDrivers") | ||
.version("1.1.0") |
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.
No JIRA ID, commit ID: 7446f5f
.createWithDefault(200) | ||
|
||
val REAPER_ITERATIONS = ConfigBuilder("spark.dead.worker.persistence") | ||
.version("0.8.0") |
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.
No JIRA ID, commit ID: 46eecd1
.createWithDefault(15) | ||
|
||
val MAX_EXECUTOR_RETRIES = ConfigBuilder("spark.deploy.maxExecutorRetries") | ||
.version("1.6.3") |
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.
SPARK-16956, commit ID: ace458f
.createWithDefault(10) | ||
|
||
val SPREAD_OUT_APPS = ConfigBuilder("spark.deploy.spreadOut") | ||
.version("0.6.1") |
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.
No JIRA ID, commit ID: bb2b9ff
.createWithDefault(true) | ||
|
||
val DEFAULT_CORES = ConfigBuilder("spark.deploy.defaultCores") | ||
.version("0.9.0") |
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.
No JIRA ID, commit ID: d8bcc8e
@HyukjinKwon I have removed the comments and add GitHub comments for each item. |
Test build #118843 has finished for PR 27668 at commit
|
Merged to master. |
@HyukjinKwon Thanks for your help! @srowen Thanks for your review. |
… of Deploy ### What changes were proposed in this pull request? 1.Add version information to the configuration of `Deploy`. 2.Update the docs of `Deploy`. I sorted out some information show below. Item name | Since version | JIRA ID | Commit ID | Note -- | -- | -- | -- | -- spark.deploy.recoveryMode | 0.8.1 | None | d66c01f#diff-29dffdccd5a7f4c8b496c293e87c8668 | spark.deploy.recoveryMode.factory | 1.2.0 | SPARK-1830 | deefd9d#diff-29dffdccd5a7f4c8b496c293e87c8668 | This configuration appears in branch-1.3, but the version number in the pom.xml file corresponding to the commit is 1.2.0-SNAPSHOT spark.deploy.recoveryDirectory | 0.8.1 | None | d66c01f#diff-29dffdccd5a7f4c8b496c293e87c8668 | spark.deploy.zookeeper.url | 0.8.1 | None | d66c01f#diff-4457313ca662a1cd60197122d924585c | spark.deploy.zookeeper.dir | 0.8.1 | None | d66c01f#diff-a84228cb45c7d5bd93305a1f5bf720b6 | spark.deploy.retainedApplications | 0.8.0 | None | 46eecd1#diff-29dffdccd5a7f4c8b496c293e87c8668 | spark.deploy.retainedDrivers | 1.1.0 | None | 7446f5f#diff-29dffdccd5a7f4c8b496c293e87c8668 | spark.dead.worker.persistence | 0.8.0 | None | 46eecd1#diff-29dffdccd5a7f4c8b496c293e87c8668 | spark.deploy.maxExecutorRetries | 1.6.3 | SPARK-16956 | ace458f#diff-29dffdccd5a7f4c8b496c293e87c8668 | spark.deploy.spreadOut | 0.6.1 | None | bb2b9ff#diff-0e7ae91819fc8f7b47b0f97be7116325 | spark.deploy.defaultCores | 0.9.0 | None | d8bcc8e#diff-29dffdccd5a7f4c8b496c293e87c8668 | ### Why are the changes needed? Supplemental configuration version information. ### Does this PR introduce any user-facing change? No ### How was this patch tested? Exists UT Closes #27668 from beliefer/add-version-to-deploy-config. Authored-by: beliefer <beliefer@163.com> Signed-off-by: HyukjinKwon <gurwls223@apache.org>
… of Deploy ### What changes were proposed in this pull request? 1.Add version information to the configuration of `Deploy`. 2.Update the docs of `Deploy`. I sorted out some information show below. Item name | Since version | JIRA ID | Commit ID | Note -- | -- | -- | -- | -- spark.deploy.recoveryMode | 0.8.1 | None | d66c01f#diff-29dffdccd5a7f4c8b496c293e87c8668 | spark.deploy.recoveryMode.factory | 1.2.0 | SPARK-1830 | deefd9d#diff-29dffdccd5a7f4c8b496c293e87c8668 | This configuration appears in branch-1.3, but the version number in the pom.xml file corresponding to the commit is 1.2.0-SNAPSHOT spark.deploy.recoveryDirectory | 0.8.1 | None | d66c01f#diff-29dffdccd5a7f4c8b496c293e87c8668 | spark.deploy.zookeeper.url | 0.8.1 | None | d66c01f#diff-4457313ca662a1cd60197122d924585c | spark.deploy.zookeeper.dir | 0.8.1 | None | d66c01f#diff-a84228cb45c7d5bd93305a1f5bf720b6 | spark.deploy.retainedApplications | 0.8.0 | None | 46eecd1#diff-29dffdccd5a7f4c8b496c293e87c8668 | spark.deploy.retainedDrivers | 1.1.0 | None | 7446f5f#diff-29dffdccd5a7f4c8b496c293e87c8668 | spark.dead.worker.persistence | 0.8.0 | None | 46eecd1#diff-29dffdccd5a7f4c8b496c293e87c8668 | spark.deploy.maxExecutorRetries | 1.6.3 | SPARK-16956 | ace458f#diff-29dffdccd5a7f4c8b496c293e87c8668 | spark.deploy.spreadOut | 0.6.1 | None | bb2b9ff#diff-0e7ae91819fc8f7b47b0f97be7116325 | spark.deploy.defaultCores | 0.9.0 | None | d8bcc8e#diff-29dffdccd5a7f4c8b496c293e87c8668 | ### Why are the changes needed? Supplemental configuration version information. ### Does this PR introduce any user-facing change? No ### How was this patch tested? Exists UT Closes apache#27668 from beliefer/add-version-to-deploy-config. Authored-by: beliefer <beliefer@163.com> Signed-off-by: HyukjinKwon <gurwls223@apache.org>
What changes were proposed in this pull request?
1.Add version information to the configuration of
Deploy
.2.Update the docs of
Deploy
.I sorted out some information show below.
Why are the changes needed?
Supplemental configuration version information.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Exists UT