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

ASF GitHub Bot commented on FLINK-4208:
---------------------------------------

Github user iemejia commented on the issue:

    https://github.com/apache/flink/pull/2239
  
    I tried not to change the current daemon behavior, that's the reason why I 
took
    the decision to add an additional option.  I am not sure if using wait may 
work for what I want but if it does, perfect, can you give me hints of how to 
test this ? I naively did this and it does not seem to work.
    
    ```
            if [[ ${mypid} =~ ${IS_NUMBER} ]] && kill -0 $mypid > /dev/null 
2>&1 ; then
                echo $mypid >> $pid
    +           wait $mypid # I also tried with $pid and it does not work either
            else
    ```


> Support Running Flink processes in foreground mode
> --------------------------------------------------
>
>                 Key: FLINK-4208
>                 URL: https://issues.apache.org/jira/browse/FLINK-4208
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Ismaël Mejía
>            Priority: Minor
>
> Flink clusters are started automatically in daemon mode, this is definitely 
> the default case, however if we want to start containers based on flinks, the 
> execution context gets lost. Running flink as foreground processes can fix 
> this.



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

Reply via email to