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

TisonKun commented on FLINK-11779:
----------------------------------

[~gjy]

Isn't "-m" ignored because it is run in a yarn-cluster? If so, what we need to 
do is excluding "-m" option from yarn-cluster mode document.

>From {{FlinkYarnSessionCli#applyCommandLineOptionsToConfiguration}}.
{code:java}
@Override
        protected Configuration 
applyCommandLineOptionsToConfiguration(CommandLine commandLine) throws 
FlinkException {
                // we ignore the addressOption because it can only contain 
"yarn-cluster"
...
{code}


> CLI ignores -m parameter if high-availability is ZOOKEEPER 
> -----------------------------------------------------------
>
>                 Key: FLINK-11779
>                 URL: https://issues.apache.org/jira/browse/FLINK-11779
>             Project: Flink
>          Issue Type: Bug
>          Components: Command Line Client
>    Affects Versions: 1.7.2, 1.8.0
>            Reporter: Gary Yao
>            Assignee: leesf
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> *Description*
> The CLI will ignores the host/port provided by the {{-m}} parameter if 
> {{high-availability: ZOOKEEPER}} is configured in {{flink-conf.yaml}}
> *Expected behavior*
> * TBD: either document this behavior or give precedence to {{-m}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to