[jira] [Created] (FLINK-17154) Make ResourceManager#internalDeregisterApplication and implementation asynchronous

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-17154) Make ResourceManager#internalDeregisterApplication and implementation asynchronous

Shang Yuanchun (Jira)
Yang Wang created FLINK-17154:
---------------------------------

             Summary: Make ResourceManager#internalDeregisterApplication and implementation asynchronous
                 Key: FLINK-17154
                 URL: https://issues.apache.org/jira/browse/FLINK-17154
             Project: Flink
          Issue Type: Improvement
          Components: Deployment / Kubernetes, Deployment / Mesos, Deployment / YARN, Runtime / Coordination
            Reporter: Yang Wang


Follow the discussion in this PR[1].

Currently, {{ResourceManager#internalDeregisterApplication}} is a blocking call, so all the specific deployment implementation will do the Flink cluster deregister synchronously. 

After FLINK-17024, we could get a safe thread pool to execute the I/O operations, including the "deregister". This ticket is to make the interface asynchronous. Benefit from this, the shutdown process will be a little faster. 

 

[1]. https://github.com/apache/flink/pull/11427#issuecomment-613416114



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