Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4742#discussion_r141868129
  
    --- Diff: 
flink-clients/src/main/java/org/apache/flink/client/CliFrontend.java ---
    @@ -635,6 +650,18 @@ protected int cancel(String[] args) {
                        return 1;
                }
     
    +           // FLIP-6 specific branch
    +           try {
    +                   CustomCommandLine<?> activeCommandLine = 
getActiveCustomCommandLine(options.getCommandLine());
    +                   if (activeCommandLine instanceof Flip6DefaultCLI) {
    +                           ClusterClient client = 
activeCommandLine.retrieveCluster(options.getCommandLine(), config, 
configurationDirectory);
    +                           client.cancel(jobId);
    --- End diff --
    
    Same here for cancel.


---

Reply via email to