zhuzhurk commented on a change in pull request #10237: [FLINK-14362][runtime] 
Change DefaultSchedulingResultPartition to return correct partition state
URL: https://github.com/apache/flink/pull/10237#discussion_r348272788
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/DefaultScheduler.java
 ##########
 @@ -401,12 +401,17 @@ private static void propagateIfNonNull(final Throwable 
throwable) {
                                        
.registerProducedPartitions(logicalSlot.getTaskManagerLocation(), 
sendScheduleOrUpdateConsumerMessage);
                                executionVertex.tryAssignResource(logicalSlot);
                        } else {
-                               handleTaskFailure(executionVertexId, 
maybeWrapWithNoResourceAvailableException(throwable));
+                               onTaskDeploymentFailure(executionVertexId, 
maybeWrapWithNoResourceAvailableException(throwable));
                        }
                        return null;
                };
        }
 
+       private void onTaskDeploymentFailure(final ExecutionVertexID 
executionVertexId, final Throwable error) {
+               log.info("An error is detected when trying to schedule or 
deploy task {}.", executionVertexId, error);
 
 Review comment:
   Ok. done.

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