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

【Flink-Deployment】YARN CLI Parameter doesn't work when set `execution.target: yarn-per-job` config

    XMLWordPrintableJSON

Details

    Description

      when i use flink-sql-client to deploy job to yarn(per job mod), I set `execution.target: yarn-per-job` in flink-conf.yaml, job will deploy to yarn.

       

      when I deploy jar job to yarn, The command is `./bin/flink run -m yarn-cluster -ynm flink-1.12-test  -ytm 3g -yjm 3g examples/streaming/StateMachineExample.jar`, it will deploy ok, but the `-ynm`、`-ytm 3g` and `-yjm 3g` doesn't work. 

       

       

       

      when i remove the config `execution.target: yarn-per-job`, it work well.

       

      Attachments

        1. image-2020-11-04-20-58-49-738.png
          49 kB
          zhisheng
        2. image-2020-11-04-21-00-06-180.png
          26 kB
          zhisheng

        Activity

          People

            kkl0u Kostas Kloudas
            zhisheng zhisheng
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: