You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "zhisheng (Jira)" <ji...@apache.org> on 2020/11/04 13:01:00 UTC

[jira] [Created] (FLINK-19973) 【Flink-Deployment】YARN CLI Parameter doesn't work

zhisheng created FLINK-19973:
--------------------------------

             Summary: 【Flink-Deployment】YARN CLI Parameter doesn't work
                 Key: FLINK-19973
                 URL: https://issues.apache.org/jira/browse/FLINK-19973
             Project: Flink
          Issue Type: Bug
          Components: Deployment / YARN
    Affects Versions: 1.12.0
            Reporter: zhisheng
         Attachments: image-2020-11-04-20-58-49-738.png, image-2020-11-04-21-00-06-180.png

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. 

 

!image-2020-11-04-20-58-49-738.png!

 

 

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

 

!image-2020-11-04-21-00-06-180.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)