Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3838

CLI parameter parser is munging application params

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.2, 1.0.3
    • 1.0.4, 1.1.0
    • Command Line Client
    • None

    Description

      If parameters for an application use a single '-' (e.g. -maxtasks) then the CLI argument parser will munge these, and the app gets passed either just the parameter name (e.g. 'maxtask') if the start of the parameter doesn't match a Flink parameter, or you get two values, with the first value being the part that matched (e.g. '-m') and the second value being the rest (e.g. 'axtasks').

      The parser should ignore everything after the jar path parameter.

      Note that using --<parameter name> does seem to work.

      Attachments

        Issue Links

          Activity

            People

              mxm Maximilian Michels
              kkrugler Kenneth William Krugler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: