You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/11/22 12:30:00 UTC

[jira] [Updated] (FLINK-33225) Python API incorrectly passes `JVM_ARGS` as single argument

     [ https://issues.apache.org/jira/browse/FLINK-33225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated FLINK-33225:
-----------------------------------
    Labels: github-pullrequest pull-request-available  (was: github-pullrequest)

> 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
>            Priority: Major
>              Labels: github-pullrequest, pull-request-available
>
> 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)