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

Custom Application Name on YARN is ignored in deploy jobmanager mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.10.1
    • 1.0.0
    • Deployment / YARN
    • None

    Description

      FLINK-2298 introduced a custom name for the job.

      This is ignored when the yarn application is started as part of the job submission, e.g.

      flink run -m yarn-cluster -ynm myname

      It is always set using the classname as program name

      flinkYarnClient.setName("Flink Application: " + programName);

      The client get's constructed using

      AbstractFlinkYarnClient flinkYarnClient = CliFrontendParser.getFlinkYarnSessionCli().createFlinkYarnClient(commandLine);

      So the name will be parsed correctly, it is just overwritten.
      This should be a fallback, when no name is provided

      Attachments

        Issue Links

          Activity

            People

              jkirsch Johannes
              jkirsch Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: