You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Ufuk Celebi (JIRA)" <ji...@apache.org> on 2015/07/01 00:54:04 UTC

[jira] [Created] (FLINK-2302) Allow multiple instances to run on single host

Ufuk Celebi created FLINK-2302:
----------------------------------

             Summary: Allow multiple instances to run on single host
                 Key: FLINK-2302
                 URL: https://issues.apache.org/jira/browse/FLINK-2302
             Project: Flink
          Issue Type: Bug
          Components: Start-Stop Scripts
    Affects Versions: 0.10
            Reporter: Ufuk Celebi
             Fix For: 0.10


The scripts currently can only run a single component like TaskManager per host.

The main reason is that there is a single PID file per running process (e.g. TaskManager). If this file exists, no other process of the respective type can be started. Instead of having a single file per process with a single PID, we can append multiple PIDs to one file, e.g. a {{tm.pid}} can look like:

{code}
pid tm1
pid tm2
{code}

Stopping a TM then removes a single PID in FIFO fashion (add pids at tail, remove pids from head).




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