You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2017/10/11 08:31:00 UTC

[jira] [Created] (FLINK-7804) YarnResourceManager does not execute AMRMClientAsync callbacks in main thread

Till Rohrmann created FLINK-7804:
------------------------------------

             Summary: YarnResourceManager does not execute AMRMClientAsync callbacks in main thread
                 Key: FLINK-7804
                 URL: https://issues.apache.org/jira/browse/FLINK-7804
             Project: Flink
          Issue Type: Bug
          Components: Distributed Coordination, YARN
    Affects Versions: 1.4.0
            Reporter: Till Rohrmann


The {{YarnResourceManager}} registers callbacks at a {{AMRMClientAsync}} which it uses to react to Yarn container allocations. These callbacks (e.g. {{onContainersAllocated}} modify the internal state of the {{YarnResourceManager}}. This can lead to race conditions with the {{requestYarnContainer}} method.

In order to solve this problem we have to execute the state changing operations in the main thread of the {{YarnResourceManager}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)