flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maximilian Michels (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2302) Allow multiple instances to run on single host
Date Wed, 01 Jul 2015 08:22:04 GMT

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

Maximilian Michels commented on FLINK-2302:

Another issue is the network ports but we already have this solved with the {{ForkableMiniCluster}}
which adjusts its listening ports.

> 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
>             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

View raw message