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_r318881146
 
 

 ##########
 File path: docs/ops/deployment/yarn_setup.md
 ##########
 @@ -262,6 +262,15 @@ Flink's YARN client has the following configuration 
parameters to control how to
 
 - `yarn.application-attempts`: The number of ApplicationMaster (+ its 
TaskManager containers) attempts. If this value is set to 1 (default), the 
entire YARN session will fail when the Application master fails. Higher values 
specify the number of restarts of the ApplicationMaster by YARN.
 
+## Setup for application priority on YARN
+
+Flink's YARN client has the following configuration parameters to setup 
application priority. These parameters can be set either from the 
`conf/flink-conf.yaml` or when starting the YARN session, using `-D` parameters.
+
+- `yarn.application.priority`: 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 YARN official documentation for specific settings required to 
enable priority schedule for the targeted YARN version.
 
 Review comment:
   done

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to