rkhachatryan commented on a change in pull request #16523:
URL: https://github.com/apache/flink/pull/16523#discussion_r677344261



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/slotpool/DeclarativeSlotPoolBridge.java
##########
@@ -354,7 +354,7 @@ private void 
failPendingRequests(Collection<ResourceRequirement> acquiredResourc
                     getSlotServiceStatus());
             cancelPendingRequests(
                     predicate,
-                    new NoResourceAvailableException(
+                    NoResourceAvailableException.withoutStackTrace(

Review comment:
       I agree, having a dedicated method makes it more explicit.




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to