[
https://issues.apache.org/jira/browse/FLINK-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephan Ewen resolved FLINK-2302.
---------------------------------
Resolution: Fixed
Assignee: Ufuk Celebi
Fixed via 8c72b50d87c5a4946b67d722fc1ec3adb7c9bf16
> 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)