You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (Jira)" <ji...@apache.org> on 2020/04/09 14:06:00 UTC

[jira] [Created] (FLINK-17072) Let Dispatcher and ResourceManager pick random endpoint id

Till Rohrmann created FLINK-17072:
-------------------------------------

             Summary: Let Dispatcher and ResourceManager pick random endpoint id
                 Key: FLINK-17072
                 URL: https://issues.apache.org/jira/browse/FLINK-17072
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Coordination
    Affects Versions: 1.10.0
            Reporter: Till Rohrmann
            Assignee: Till Rohrmann
             Fix For: 1.11.0


As it is recommended by Akka, actors should not reuse the same actor name of a previous instance. The problem is that one can receive messages which were intended for the previous instance. Hence, I propose to let the {{ResourceManager}} and the {{Dispatcher}} pick a random name.

A nice side effect is that the {{TestingMiniCluster}} needs no longer to use specialized factories for these two components in order to avoid name clashes when starting stand-by RM and {{Dispatchers}}. Moreover, it simplifies the setup of these components.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)