From f2ec7bbabc7925a77c2a4f776466653e81b32ab7 Mon Sep 17 00:00:00 2001 From: Tony Wei Date: Mon, 26 Apr 2021 17:51:53 +0800 Subject: [PATCH 1/2] [FLINK-22476] Extend the description of the config option `execution.target` --- .../org/apache/flink/configuration/DeploymentOptions.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flink-core/src/main/java/org/apache/flink/configuration/DeploymentOptions.java b/flink-core/src/main/java/org/apache/flink/configuration/DeploymentOptions.java index b9f62ebe73c1f..0d6287fb272e0 100644 --- a/flink-core/src/main/java/org/apache/flink/configuration/DeploymentOptions.java +++ b/flink-core/src/main/java/org/apache/flink/configuration/DeploymentOptions.java @@ -37,13 +37,17 @@ public class DeploymentOptions { .withDescription( Description.builder() .text( - "The deployment target for the execution. This can take one of the following values:") + "The deployment target for the execution. This can take one of the following values " + + "when execute bin/flink run:") .list( text("remote"), text("local"), text("yarn-per-job"), text("yarn-session"), text("kubernetes-session")) + .text( + ", and can take one of the following values when execute bin/flink run-application:") + .list(text("yarn-application"), text("kubernetes-application")) .text(".") .build()); From 4efc4f94ce52c83115b109ce568a700ece6ac77c Mon Sep 17 00:00:00 2001 From: Tony Wei Date: Tue, 27 Apr 2021 14:45:11 +0800 Subject: [PATCH 2/2] generate doc --- docs/layouts/shortcodes/generated/deployment_configuration.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/layouts/shortcodes/generated/deployment_configuration.html b/docs/layouts/shortcodes/generated/deployment_configuration.html index 551e3c879800c..31ac2999ff635 100644 --- a/docs/layouts/shortcodes/generated/deployment_configuration.html +++ b/docs/layouts/shortcodes/generated/deployment_configuration.html @@ -30,7 +30,7 @@
execution.target
(none) String - The deployment target for the execution. This can take one of the following values:. + The deployment target for the execution. This can take one of the following values when execute bin/flink run:, and can take one of the following values when execute bin/flink run-application:.