[
https://issues.apache.org/jira/browse/FLINK-11779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17173995#comment-17173995
]
Guowei Ma edited comment on FLINK-11779 at 8/10/20, 4:11 AM:
-------------------------------------------------------------
I am not very sure about the detailed scenarios so please correct me if I miss
something.
Maybe we should document that -m(rest.address) is only respected by the
StandaloneHaService. This is also consistent with current implementation. For
example the yarn/k8s does not respect the “reset.address” set by the user at
all.
In the Generic CLI mode there is no -m option. (It does not use the
`AbstractCustomCommandLine`) So this is also consistent with the above
statement.
I agree with [~aljoscha] that maybe we should not expose the
`jobmanager.rpc.address` to the client any more. (But this might introduce some
incompatible problem)
What do you think?
was (Author: maguowei):
# What I understand is that the rest server should publish its address to the
HighAvailabilityService. The rest client should always retrieve the rest server
address from a HighAvailabilityService.
# In the default mode the -m option means two things
## User wants to use `StandaloneHaServices`
## Set the value for the `jobmanager.rpc.address`
# In the Generic CLI mode there is no -m option. It does not use the
`AbstractCustomCommandLine`. So in this mode client and server should always
respect the `HighAvailabilityServcie` in the config. I agree with [~aljoscha]
that maybe we should not expose the `jobmanager.rpc.address` to the client any
more. But this might introduce some incompatible problem.
> 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
(v8.3.4#803005)