Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-33225

Python API incorrectly passes `JVM_ARGS` as single argument

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            deepyaman Deepyaman Datta
            deepyaman Deepyaman Datta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: