You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2020/04/10 09:50:57 UTC

[flink] 04/05: [FLINK-9656] Add FLINK_CLI_JVM_OPTIONS with key env.java.opts.client

This is an automated email from the ASF dual-hosted git repository.

trohrmann pushed a commit to branch release-1.10
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 5439e11a16ea2a2b75adc23cfd7d4c46405aa439
Author: Jun Qin <11...@users.noreply.github.com>
AuthorDate: Tue Apr 7 21:59:54 2020 +0200

    [FLINK-9656] Add FLINK_CLI_JVM_OPTIONS with key env.java.opts.client
    
    This closes #11595.
---
 docs/_includes/generated/environment_configuration.html             | 6 ++++++
 .../src/main/java/org/apache/flink/configuration/CoreOptions.java   | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/docs/_includes/generated/environment_configuration.html b/docs/_includes/generated/environment_configuration.html
index 32b4139..912ecbb 100644
--- a/docs/_includes/generated/environment_configuration.html
+++ b/docs/_includes/generated/environment_configuration.html
@@ -21,6 +21,12 @@
             <td>Java options to start the JVM of all Flink processes with.</td>
         </tr>
         <tr>
+            <td><h5>env.java.opts.client</h5></td>
+            <td style="word-wrap: break-word;">(none)</td>
+            <td>String</td>
+            <td>Java options to start the JVM of the Flink Client with.</td>
+        </tr>
+        <tr>
             <td><h5>env.java.opts.historyserver</h5></td>
             <td style="word-wrap: break-word;">(none)</td>
             <td>String</td>
diff --git a/flink-core/src/main/java/org/apache/flink/configuration/CoreOptions.java b/flink-core/src/main/java/org/apache/flink/configuration/CoreOptions.java
index 484f604..92e2f90 100644
--- a/flink-core/src/main/java/org/apache/flink/configuration/CoreOptions.java
+++ b/flink-core/src/main/java/org/apache/flink/configuration/CoreOptions.java
@@ -178,6 +178,12 @@ public class CoreOptions {
 		.defaultValue("")
 		.withDescription(Description.builder().text("Java options to start the JVM of the HistoryServer with.").build());
 
+	public static final ConfigOption<String> FLINK_CLI_JVM_OPTIONS = ConfigOptions
+		.key("env.java.opts.client")
+		.stringType()
+		.defaultValue("")
+		.withDescription(Description.builder().text("Java options to start the JVM of the Flink Client with.").build());
+
 	/**
 	 * This options is here only for documentation generation, it is only
 	 * evaluated in the shell scripts.