[ https://issues.apache.org/jira/browse/FLINK-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15333824#comment-15333824 ]
Gyula Fora commented on FLINK-4038: ----------------------------------- Should I open a discussion thread on the mailing list maybe? > 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 > Fix For: 1.1.0 > > > 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)