[
https://issues.apache.org/jira/browse/FLINK-33225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Deepyaman Datta updated FLINK-33225:
------------------------------------
Description:
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.}}
was:
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.
> 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
>
> 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)