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

ASF GitHub Bot commented on FLINK-9805:
---------------------------------------

GitHub user zentol opened a pull request:

    https://github.com/apache/flink/pull/6307

    [FLINK-9805][rest] Catch JsonProcessingException in RestClient

    ## What is the purpose of the change
    
    With this PR `RestClient#readRawResponse` catches all JSON-related 
exceptions. The exact circumstances where a `non-JsonParseException` is thrown 
isn't clearly defined, but one case when it can occur is when the input is 
empty.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zentol/flink 9805

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/6307.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #6307
    
----

----


> 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: Client
>    Affects Versions: 1.5.0
>            Reporter: Sayat Satybaldiyev
>            Assignee: vinoyang
>            Priority: Minor
>              Labels: newbie, pull-request-available
>
> 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
(v7.6.3#76005)

Reply via email to