zhuzhurk commented on a change in pull request #9794: [FLINK-14247][runtime] 
Use NoResourceAvailableException to wrap TimeoutException on slot allocation 
timeout
URL: https://github.com/apache/flink/pull/9794#discussion_r329602224
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/scheduler/NoResourceAvailableException.java
 ##########
 @@ -19,40 +19,20 @@
 package org.apache.flink.runtime.jobmanager.scheduler;
 
 import org.apache.flink.runtime.JobException;
-import org.apache.flink.runtime.throwable.ThrowableAnnotation;
-import org.apache.flink.runtime.throwable.ThrowableType;
 
-@ThrowableAnnotation(ThrowableType.NonRecoverableError)
+/**
+ * Indicates resource allocation failures.
+ */
 public class NoResourceAvailableException extends JobException {
 
 Review comment:
   Yes. It's only used by the `ExecutionFailureHandler` in the new scheduler.

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


With regards,
Apache Git Services

Reply via email to