davidradl commented on code in PR #24754:
URL: https://github.com/apache/flink/pull/24754#discussion_r1588941192


##########
flink-clients/src/main/java/org/apache/flink/client/program/rest/RestClusterClient.java:
##########
@@ -454,6 +467,24 @@ public CompletableFuture<JobID> submitJob(@Nonnull 
JobGraph jobGraph) {
                                                     receiver,
                                                     error);
                                         } else {
+                                            RuntimeExecutionMode executionMode 
=
+                                                    
jobGraph.getJobConfiguration()
+                                                            
.get(ExecutionOptions.RUNTIME_MODE);
+                                            if 
(jobStatusChangedListeners.size() > 0) {
+                                                
jobStatusChangedListeners.forEach(
+                                                        listener ->
+                                                                
listener.onEvent(
+                                                                        new 
DefaultJobCreatedEvent(
+                                                                               
 jobGraph.getJobID(),
+                                                                               
 jobGraph.getName(),
+                                                                               
 pipeline == null
+                                                                               
         ? null
+                                                                               
         : ((StreamGraph)
+                                                                               
                         pipeline)
+                                                                               
                 .getLineageGraph(),
+                                                                               
 executionMode)));
+                                            }
+
                                             LOG.info(
                                                     "Successfully submitted 
job '{}' ({}) to '{}'.",
                                                     jobGraph.getName(),

Review Comment:
    add the name/id of the pipeline here for debug.



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