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

Maximilian Michels commented on FLINK-4199:
-------------------------------------------


This is how it looks now for successful executions:

{noformat}
Cluster configuration: 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
Executing WordCount example with default input data set.
Use --input to specify file input.
Printing result to stdout. Use --output to specify output path.
Submitting job with JobID: a56b184080d9755d3f2d40c7d9092b31. Waiting for job 
completion.
07/18/2016 16:42:23     Job execution switched to status RUNNING.
07/18/2016 16:42:23     Source: Collection Source -> Flat Map(1/1) switched to 
SCHEDULED 
07/18/2016 16:42:23     Source: Collection Source -> Flat Map(1/1) switched to 
DEPLOYING 
07/18/2016 16:42:23     Keyed Aggregation -> Sink: Unnamed(1/1) switched to 
SCHEDULED 
07/18/2016 16:42:23     Keyed Aggregation -> Sink: Unnamed(1/1) switched to 
DEPLOYING 
07/18/2016 16:42:23     Keyed Aggregation -> Sink: Unnamed(1/1) switched to 
RUNNING 
07/18/2016 16:42:23     Source: Collection Source -> Flat Map(1/1) switched to 
RUNNING 
07/18/2016 16:42:23     Source: Collection Source -> Flat Map(1/1) switched to 
FINISHED 
07/18/2016 16:42:23     Keyed Aggregation -> Sink: Unnamed(1/1) switched to 
FINISHED 
07/18/2016 16:42:23     Job execution switched to status FINISHED.
Program execution finished
Job with JobID a56b184080d9755d3f2d40c7d9092b31 has finished.
Job Runtime: 25 ms
{noformat}

This is how it looks when the JobManager is not available:

{noformat}
Cluster configuration: 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
Executing WordCount example with default input data set.
Use --input to specify file input.
Printing result to stdout. Use --output to specify output path.
Submitting job with JobID: 20d070cf6a4289df4e5045c9c52cc47b. Waiting for job 
completion.

------------------------------------------------------------
 The program finished with the following exception:

org.apache.flink.client.program.ProgramInvocationException: The program 
execution failed: Communication with JobManager failed: Lost connection to the 
JobManager.
...
{noformat}



> Misleading messages by CLI upon job submission
> ----------------------------------------------
>
>                 Key: FLINK-4199
>                 URL: https://issues.apache.org/jira/browse/FLINK-4199
>             Project: Flink
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 1.1.0
>            Reporter: Kostas Kloudas
>            Assignee: Maximilian Michels
>             Fix For: 1.1.0
>
>
> 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