flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FLINK-2302) Allow multiple instances to run on single host
Date Wed, 08 Jul 2015 18:34:05 GMT

     [ https://issues.apache.org/jira/browse/FLINK-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stephan Ewen closed FLINK-2302.
-------------------------------

> Allow multiple instances to run on single host
> ----------------------------------------------
>
>                 Key: FLINK-2302
>                 URL: https://issues.apache.org/jira/browse/FLINK-2302
>             Project: Flink
>          Issue Type: Improvement
>          Components: Start-Stop Scripts
>    Affects Versions: 0.10
>            Reporter: Ufuk Celebi
>            Assignee: 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)- in LIFO fashion (add/remove pids at/from tail). LIFO is important to ensure that
the log files can be automatically  enumerated by number of pids per host w/o overwriting
existing log files.



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

Mime
View raw message