Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.18.0, 1.17.1, 1.18.1
-
None
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.