wzhero1 commented on a change in pull request #9336:
[FLINK-13548][Deployment/YARN]Support priority of the Flink YARN application
URL: https://github.com/apache/flink/pull/9336#discussion_r317010907
##########
File path: docs/_includes/generated/yarn_config_configuration.html
##########
@@ -22,6 +22,11 @@
<td style="word-wrap: break-word;">"0"</td>
<td>With this configuration option, users can specify a port, a
range of ports or a list of ports for the Application Master (and JobManager)
RPC port. By default we recommend using the default value (0) to let the
operating system choose an appropriate port. In particular when multiple AMs
are running on the same physical host, fixed port assignments prevent the AM
from starting. For example when running Flink on YARN on an environment with a
restrictive firewall, this option allows specifying a range of allowed
ports.</td>
</tr>
+ <tr>
+ <td><h5>yarn.application.priority</h5></td>
+ <td style="word-wrap: break-word;">-1</td>
+ <td>A non-negative integer indicating the priority for submitting
a Flink YARN application. It will only take effect if YARN priority scheduling
setting is enabled. Larger integer corresponds with higher priority. If
priority is negative or set to '-1'(default), Flink will unset yarn priority
setting and use cluster default priority. Please refer to <a
href="https://hadoop.apache.org/docs/r2.8.5/hadoop-yarn/hadoop-yarn-site/CapacityScheduler.html">YARN
Capacity Scheduling Doc</a> for specific settings required to enable priority
schedule for the targeted YARN version.</td>
Review comment:
Thanks for your review~ I have updated the yarn doc as the comment mentioned
above.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services