[ 
https://issues.apache.org/jira/browse/FLINK-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15333822#comment-15333822
 ] 

Gyula Fora commented on FLINK-4038:
-----------------------------------

I feel that these issues are rather easy to solve once we have a consensus on 
how the scripts should behave. On the other hand these issues will have major 
impact on the deployments in the future so I would like to hear the opinions of 
more experienced people.

> 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)

Reply via email to