You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Gyula Fora (JIRA)" <ji...@apache.org> on 2016/06/09 09:41:20 UTC

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

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)