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

Impossible to set more than 1 JVM argument in env.java.opts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0.0, 1.1.0
    • 1.0.4, 1.1.0
    • Deployment / Scripts
    • None

    Description

      The Taskmanager start scripts fail when env.java.opts contains more than 1 jvm opts due to:

      if [[ $FLINK_TM_MEM_PRE_ALLOCATE == "false" ]] && [ -z $FLINK_ENV_JAVA_OPTS ]; then

      -z checks the length of the first argument but it fails if it has more than 1 argument

      Attachments

        Activity

          People

            uce Ufuk Celebi
            gyfora Gyula Fora
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: