Class FallbackYarnSessionCli

    • Field Detail

      • applicationId

        protected final org.apache.commons.cli.Option applicationId
      • addressOption

        protected final org.apache.commons.cli.Option addressOption
    • Constructor Detail

      • FallbackYarnSessionCli

        public FallbackYarnSessionCli​(Configuration configuration)
    • Method Detail

      • isActive

        public boolean isActive​(org.apache.commons.cli.CommandLine commandLine)
        Description copied from interface: CustomCommandLine
        Signals whether the custom command-line wants to execute or not.
        Specified by:
        isActive in interface CustomCommandLine
        Parameters:
        commandLine - The command-line options
        Returns:
        True if the command-line wants to run, False otherwise
      • getId

        public String getId()
        Description copied from interface: CustomCommandLine
        Gets the unique identifier of this CustomCommandLine.
        Returns:
        A unique identifier