XComp commented on a change in pull request #13547:
URL: https://github.com/apache/flink/pull/13547#discussion_r505381976
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/slot/SlotNotFoundException.java
##########
@@ -27,11 +27,14 @@
private static final long serialVersionUID = -883614807750137925L;
+ private final AllocationID allocationID;
+
public SlotNotFoundException(AllocationID allocationId) {
- this("Could not find slot for " + allocationId + '.');
+ super("Could not find slot for " + allocationId + '.');
+ this.allocationID = allocationId;
}
- public SlotNotFoundException(String message) {
- super(message);
+ public AllocationID getSlotID() {
Review comment:
I reverted the `SlotNotFoundException` entirely.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]