aljoscha commented on a change in pull request #14157:
URL: https://github.com/apache/flink/pull/14157#discussion_r528589245



##########
File path: 
flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
##########
@@ -371,6 +372,18 @@ public static void 
printHelpForRun(Collection<CustomCommandLine> customCommandLi
                System.out.println();
        }
 
+       public static void printHelpForRunApplication() {
+               HelpFormatter formatter = new HelpFormatter();
+               formatter.setLeftPadding(5);
+               formatter.setWidth(80);
+
+               System.out.println("\nAction \"run-application\" runs an 
application in Application Mode.");
+               System.out.println("\n  Syntax: run-application -t 
[kubernetes-application, yarn-application] [OPTIONS] <jar-file> <arguments>");

Review comment:
       No, unfortunately I think we need the `run-application` because it can't 
be implemented as "just an executor".
   
   Why wouldn't it work with service discovery? I know that right now there is 
nothing that we could load that could report the name but we could add sth? I 
just doesn't feel very extensible to have the names hardcoded here. 😅 




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


Reply via email to