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

Kostas Kloudas commented on FLINK-4199:
---------------------------------------

Another related issue is that a similar misleading message is printed when the 
source fails or stops in the middle of the execution:

{code}
Cluster retrieved: Standalone cluster with JobManager at 
localhost/127.0.0.1:6123
Using address localhost:6123 to connect to JobManager.
JobManager web interface address http://localhost:8081
Starting execution of program
Submitting job with JobID: 477429b836247909dd428a6cba5b923b. Waiting for job 
completion.
07/12/2016 16:18:52     Job execution switched to status RUNNING.
07/12/2016 16:18:52     Source: Socket Stream -> Sink: Unnamed(1/1) switched to 
SCHEDULED
07/12/2016 16:18:52     Source: Socket Stream -> Sink: Unnamed(1/1) switched to 
DEPLOYING
07/12/2016 16:18:52     Source: Socket Stream -> Sink: Unnamed(1/1) switched to 
RUNNING
07/12/2016 16:18:58     Source: Socket Stream -> Sink: Unnamed(1/1) switched to 
FINISHED
07/12/2016 16:18:58     Job execution switched to status FINISHED.
Job has been submitted with JobID 477429b836247909dd428a6cba5b923b
{code}

The line "Job has been submitted with JobID 477429b836247909dd428a6cba5b923b" 
should be that the job XYZ finished.

> Wrong client behavior when submitting job to non-existing cluster
> -----------------------------------------------------------------
>
>                 Key: FLINK-4199
>                 URL: https://issues.apache.org/jira/browse/FLINK-4199
>             Project: Flink
>          Issue Type: Bug
>          Components: Client
>            Reporter: Kostas Kloudas
>
> Trying to submit a job jar from the client to a non-existing cluster gives 
> the following messages. In particular the first and last lines: "Cluster 
> retrieved: Standalone cluster with JobManager at localhost/127.0.0.1:6123" 
> and "Job has been submitted with" are totally misleading.
> {code}
> Cluster retrieved: Standalone cluster with JobManager at 
> localhost/127.0.0.1:6123
> Using address localhost:6123 to connect to JobManager.
> JobManager web interface address http://localhost:8081
> Starting execution of program
> Submitting job with JobID: 9c7120e5cc55b2a9157a7e2bc5a12c9d. Waiting for job 
> completion.
> org.apache.flink.client.program.ProgramInvocationException: The program 
> execution failed: Communication with JobManager failed: Lost connection to 
> the JobManager.
> Job has been submitted with JobID 9c7120e5cc55b2a9157a7e2bc5a12c9d
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to