[jira] [Created] (FLINK-4038) Impossible to set more than 1 JVM argument in env.java.opts

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-4038) Impossible to set more than 1 JVM argument in env.java.opts

Shang Yuanchun (Jira)
Gyula Fora created FLINK-4038:
---------------------------------

             Summary: Impossible to set more than 1 JVM argument in env.java.opts
                 Key: FLINK-4038
                 URL: https://issues.apache.org/jira/browse/FLINK-4038
             Project: Flink
          Issue Type: Bug
          Components: Start-Stop Scripts
    Affects Versions: 1.0.0, 1.1.0
            Reporter: Gyula Fora
            Priority: Critical


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)