Weihua Hu created FLINK-32882:
---------------------------------

             Summary: FineGrainedSlotManager cause NPE when clear pending 
taskmanager twice
                 Key: FLINK-32882
                 URL: https://issues.apache.org/jira/browse/FLINK-32882
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Coordination
    Affects Versions: 1.18.0
            Reporter: Weihua Hu
            Assignee: Weihua Hu
         Attachments: image-2023-08-16-17-34-32-619.png

When job finished we call 
processResourceRequirements(ResourceRequirements.empty) and 
clearResourceRequirements. Both methods trigger 
taskManagerTracker.clearPendingAllocationsOfJob(jobId) to release pending task 
manager early.
 
This causes NPE, we need to add a safety net for 
PendingTaskManager#clearPendingAllocationsOfJob



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to