Skip to content

Commit

Permalink
[FLINK-5543] [client] Add a comment to the code about adding a custom…
Browse files Browse the repository at this point in the history
…CommandLine to the CLI

This closes #3144
  • Loading branch information
shijinkui authored and StephanEwen committed Jan 19, 2017
1 parent e1b2cd0 commit cda40a7
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -128,8 +128,10 @@ public class CliFrontend {
private static final List<CustomCommandLine> customCommandLine = new LinkedList<>();

static {
/** command line interface of the YARN session, with a special initialization here
* to prefix all options with y/yarn. */
// Command line interface of the YARN session, with a special initialization here
// to prefix all options with y/yarn.
// Tips: DefaultCLI must be added at last, because getActiveCustomCommandLine(..) will get the
// active CustomCommandLine in order and DefaultCLI isActive always return true.
loadCustomCommandLine("org.apache.flink.yarn.cli.FlinkYarnSessionCli", "y", "yarn");
loadCustomCommandLine("org.apache.flink.yarn.cli.FlinkYarnCLI", "y", "yarn");
customCommandLine.add(new DefaultCLI());
Expand Down

0 comments on commit cda40a7

Please sign in to comment.