[
https://issues.apache.org/jira/browse/FLINK-19973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
zhisheng updated FLINK-19973:
-----------------------------
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.
!image-2020-11-04-20-58-49-738.png|width=912,height=235!
when i remove the config `execution.target: yarn-per-job`, it work well.
!image-2020-11-04-21-00-06-180.png|width=1047,height=150!
was:
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!
> 【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
> Priority: Major
> 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|width=912,height=235!
>
>
> when i remove the config `execution.target: yarn-per-job`, it work well.
>
> !image-2020-11-04-21-00-06-180.png|width=1047,height=150!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)