[
https://issues.apache.org/jira/browse/FLINK-9805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-9805.
-----------------------------------
Resolution: Fixed
All rest requests (with the exception of jar uploads) should be redirected to
the leading JM.
> HTTP Redirect to Active JM in Flink CLI
> ---------------------------------------
>
> Key: FLINK-9805
> URL: https://issues.apache.org/jira/browse/FLINK-9805
> Project: Flink
> Issue Type: Improvement
> Components: Command Line Client
> Affects Versions: 1.5.0
> Reporter: Sayat Satybaldiyev
> Priority: Minor
> Labels: newbie, pull-request-available, stale-minor
>
> Flink CLI allows specifying job manager address via --jobmanager flag.
> However, in HA mode the JM can change and then standby JM does HTTP redirect
> to the active one. However, during deployment via flink CLI with --jobmanager
> flag option the CLI does not redirect to the active one. Thus fails to submit
> job with "Could not complete the operation. Number of retries has been
> exhausted"
>
> *Proposal:*
> Honor JM HTTP redirect in case leadership changes in flink CLI with
> --jobmanager flag active.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)