[jira] [Created] (FLINK-9632) SlotPool should notify the call when allocateSlot meet an exception

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

[jira] [Created] (FLINK-9632) SlotPool should notify the call when allocateSlot meet an exception

Shang Yuanchun (Jira)
shuai.xu created FLINK-9632:
-------------------------------

             Summary: SlotPool should notify the call when allocateSlot meet an exception
                 Key: FLINK-9632
                 URL: https://issues.apache.org/jira/browse/FLINK-9632
             Project: Flink
          Issue Type: Bug
          Components: Cluster Management
            Reporter: shuai.xu
            Assignee: shuai.xu


In SlotPool, the allocateSlot() will return a CompletableFuture<LogicalSlot>, but this future will only be completed when slotAndLocalityFuture return a LogicSlot, if slotAndLocalityFuture is completed exceptionally, it will never be completed. so the caller will never know it. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)