Skip to content
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-2558][DOCS] Add --queue example to YARN doc #2218

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/running-on-yarn.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@ Most of the configs are the same for Spark on YARN as for other deployment modes
the environment of the executor launcher.
</td>
</tr>
<tr>
<td><code>spark.yarn.queue</code></td>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This config is only supported in yarn client mode right now. Its more because of backwards compatibility and being able to pass it around in client mode then anything. In general you can use the spark-submit --queue option. If we want to make it available as a config then we should make it available in both modes.

So I would prefer to leave this config undocumented and tell people to use the --queue option until support for both modes is added.

<td>default</td>
<td>
The YARN queue to use for allocation requests.
</td>
</tr>
</table>

# Launching Spark on YARN
Expand All @@ -148,6 +155,7 @@ For example:
--driver-memory 4g \
--executor-memory 2g \
--executor-cores 1 \
--queue thequeue \
lib/spark-examples*.jar \
10

Expand Down