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

Till Rohrmann commented on FLINK-5476:
--------------------------------------

I think the standalone cluster does not support the {{GetClusterStatus}} 
message. So either you have to add this message there or you don't rely on this 
message for the changes.

I also think that the waiting time is not so much of a problem for the 
standalone case. Maybe it's already sufficient to simply adapt the timeout 
behaviour in the {{JobClientActor}} where we initially use a lower timeout 
which we increase upon successful registration.

> Fail fast if trying to submit a job to a non-existing Flink cluster
> -------------------------------------------------------------------
>
>                 Key: FLINK-5476
>                 URL: https://issues.apache.org/jira/browse/FLINK-5476
>             Project: Flink
>          Issue Type: Improvement
>          Components: Client
>    Affects Versions: 1.2.0, 1.3.0
>            Reporter: Till Rohrmann
>            Assignee: Dmitrii Kniazev
>            Priority: Minor
>
> In case of entering the wrong job manager address when submitting a job via 
> {{flink run}}, the {{JobClientActor}} waits per default {{60 s}} until a 
> {{JobClientActorConnectionException}}, indicating that the {{JobManager}} is 
> no longer reachable, is thrown. In order to fail fast in case of wrong 
> connection information, we could change it such that it uses initially a much 
> lower timeout and only increases the timeout if it had at least once 
> successfully connected to a {{JobManager}} before.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to