[
https://issues.apache.org/jira/browse/FLINK-32882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Weihua Hu resolved FLINK-32882.
-------------------------------
Fix Version/s: 1.18.0
Resolution: Fixed
master: b56ae7822f6e4ff3ad67991f1c7916a435c960e9
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.18.0
>
> 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)