Andrey Zagrebin created FLINK-16742:

             Summary: Extend and use BashJavaUtils to start JM JVM process and 
pass JVM memory args
                 Key: FLINK-16742
             Project: Flink
          Issue Type: Sub-task
          Components: Deployment / Scripts, Runtime / Configuration, Runtime / 
            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

Reply via email to