GitHub user weiqingy opened a pull request:
https://github.com/apache/spark/pull/15869
[YARN][DOC] Update Yarn configuration doc
## What changes were proposed in this pull request?
- Add documentation for two yarn configurations:
`spark.yarn.report.interval` and `spark.yarn.services`. The two configurations
are defined in yarn `config`:
```
private[spark] val REPORT_INTERVAL =
ConfigBuilder("spark.yarn.report.interval")
.doc("Interval between reports of the current app status in cluster
mode.")
.timeConf(TimeUnit.MILLISECONDS)
.createWithDefaultString("1s")
private[spark] val SCHEDULER_SERVICES =
ConfigBuilder("spark.yarn.services")
.doc("A comma-separated list of class names of services to add to the
scheduler.")
.stringConf
.toSequence
.createWithDefault(Nil)
```
- Move `spark.executor.instances` from `running-on-yarn.md` to
`configuration.md` as it is not just for yarn.
- Remove `spark.driver.memory` and `spark.executor.memory` from
`running-on-yarn.md` as they are not just for yarn and also defined
in`configuration.md`.
## How was this patch tested?
Build passed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/weiqingy/spark yarnDoc
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15869.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #15869
----
commit 3b3185226fb77eba63bcf66d6f4a490a2930725f
Author: Weiqing Yang <[email protected]>
Date: 2016-11-13T04:38:55Z
[YARN][DOC] Update Yarn configuration doc
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]