[ 
https://issues.apache.org/jira/browse/FLINK-19973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17346863#comment-17346863
 ] 

Timo Walther commented on FLINK-19973:
--------------------------------------

The SQL Client is not tested for different execution targets. Some things were 
possible to due the fact that we were forwarding `flink run` arguments in the 
`deployment` section of the YAML file. But I don't know what the current status 
is with all the recent refactorings. Maybe [~fsk119] can help?

> 【Flink-Deployment】YARN CLI Parameter doesn't work when set `execution.target: 
> yarn-per-job` config
> --------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-19973
>                 URL: https://issues.apache.org/jira/browse/FLINK-19973
>             Project: Flink
>          Issue Type: Bug
>          Components: Command Line Client, Deployment / YARN
>    Affects Versions: 1.12.0
>            Reporter: zhisheng
>            Assignee: Kostas Kloudas
>            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)

Reply via email to