Github user twalthr commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5750#discussion_r177341094
  
    --- Diff: flink-end-to-end-tests/test-scripts/common.sh ---
    @@ -59,9 +162,42 @@ function start_cluster {
       done
     }
     
    +function jm_watchdog() {
    +    expectedJms=$1
    +    ipPort=$2
    +
    +    while true; do
    +        runningJms=`jps | grep -o 'StandaloneSessionClusterEntrypoint' | 
wc -l`;
    +        missingJms=$((expectedJms-runningJms))
    +        for (( c=0; c<missingJms; c++ )); do
    +            "$FLINK_DIR"/bin/jobmanager.sh start "localhost" ${ipPort}
    --- End diff --
    
    Does it makes sense to start multiple job managers with the same `ipPort`?


---

Reply via email to