[
https://issues.apache.org/jira/browse/FLINK-33225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dian Fu closed FLINK-33225.
---------------------------
Fix Version/s: 1.19.0
1.18.1
Resolution: Fixed
Merged to
- master via b1bfd70ad8a9e4e1a710dc5775837ba7102d4b70
- release-1.18 via 73273ae1669c9f01b61667dedb85a7e745d6bbe2
> Python API incorrectly passes `JVM_ARGS` as single argument
> -----------------------------------------------------------
>
> Key: FLINK-33225
> URL: https://issues.apache.org/jira/browse/FLINK-33225
> Project: Flink
> Issue Type: Bug
> Affects Versions: 1.18.0, 1.17.1, 1.18.1
> Reporter: Deepyaman Datta
> Assignee: Deepyaman Datta
> Priority: Major
> Labels: github-pullrequest, pull-request-available
> Fix For: 1.19.0, 1.18.1
>
>
> In the same vein as https://issues.apache.org/jira/browse/FLINK-31915,
> `JVM_ARGS` need to be passed as an array. For example, the current behavior
> of export `JVM_ARGS='-XX:CompressedClassSpaceSize=100M
> -XX:MaxMetaspaceSize=200M'` is:
> {{> raise RuntimeError(}}
> {{ "Java gateway process exited before sending its port
> number.\nStderr:\n"}}
> {{ + stderr_info}}
> {{ )}}
> {{E RuntimeError: Java gateway process exited before sending
> its port number.}}
> {{E Stderr:}}
> {{E Improperly specified VM option
> 'CompressedClassSpaceSize=100M -XX:MaxMetaspaceSize=200M'}}
> {{E Error: Could not create the Java Virtual Machine.}}
> {{E Error: A fatal exception has occurred. Program will exit.}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)