Skip to content

Commit f8cda0d

Browse files
committed
[SPARK-2558][DOCS] Add spark.yarn.queue description to YARN doc
Put original YARN queue spark-submit arg description in running-on-yarn html table and example command line
1 parent d90434c commit f8cda0d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/running-on-yarn.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,13 @@ Most of the configs are the same for Spark on YARN as for other deployment modes
125125
the environment of the executor launcher.
126126
</td>
127127
</tr>
128+
<tr>
129+
<td><code>spark.yarn.queue</code></td>
130+
<td>default</td>
131+
<td>
132+
The YARN queue to use for allocation requests.
133+
</td>
134+
</tr>
128135
</table>
129136

130137
# Launching Spark on YARN
@@ -148,6 +155,7 @@ For example:
148155
--driver-memory 4g \
149156
--executor-memory 2g \
150157
--executor-cores 1 \
158+
--queue thequeue \
151159
lib/spark-examples*.jar \
152160
10
153161

0 commit comments

Comments
 (0)