You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Andrey Zagrebin (Jira)" <ji...@apache.org> on 2020/03/24 08:06:00 UTC
[jira] [Created] (FLINK-16742) Extend and use BashJavaUtils to
start JM JVM process and pass JVM memory args
Andrey Zagrebin created FLINK-16742:
---------------------------------------
Summary: Extend and use BashJavaUtils to start JM JVM process and pass JVM memory args
Key: FLINK-16742
URL: https://issues.apache.org/jira/browse/FLINK-16742
Project: Flink
Issue Type: Sub-task
Components: Deployment / Scripts, Runtime / Configuration, Runtime / Coordination
Reporter: Andrey Zagrebin
Currently, the legacy options `_jobmanager.heap.size_` (or `_jobmanager.heap.mb_`) is used in JM standalone bash scripts to pass JVM heap size arg and start JM JVM process.
BashJavaUtils should be extended to get JVM memory arg list string from Flink configuration. BashJavaUtils can use JobManagerProcessUtils#processSpecFromConfig to obtain JobManagerProcessSpec. JobManagerProcessSpec can be passed to ProcessMemoryUtils#generateJvmParametersStr to get JVM memory arg list string.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)