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

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

Github user satybald commented on the issue:

    https://github.com/apache/flink/pull/6242
  
    I'd agree with you that CREATED, RESTARTING and RUNNING is part of the 
definition of the running job. 
    
    However, CLI does include CANCELED jobs as RUNNING one if --running options 
is provided.
    
    ```
    flink list --running -m host:8081 
    Waiting for response...
    ------------------ Running/Restarting Jobs -------------------
    03.07.2018 12:07:26 : b14b50d6b6160035d7c62f135a05b5ea : Enriched 
TrackingClick (CANCELED)
    03.07.2018 12:13:39 : 83ab149ad528cfd956da7090543cbc72 : Enriched 
TrackingClick (RUNNING)
    --------------------------------------------------------------
    
    ```



> Flink CLI --running option does not show RUNNING only jobs
> ----------------------------------------------------------
>
>                 Key: FLINK-9711
>                 URL: https://issues.apache.org/jira/browse/FLINK-9711
>             Project: Flink
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 1.5.0
>            Reporter: Sayat Satybaldiyev
>            Priority: Major
>
> In Flink CLI there's a command list with option --running that according to 
> descriptions "Show only running programs and their JobIDs". However, in 
> practice, it also shows jobs that are in the *CANCELED* state, which is a 
> completed job.
>  
> {code:java}
> flink list --running -m job-manager:8081 
> Waiting for response...
> ------------------ Running/Restarting Jobs -------------------
> 03.07.2018 10:29:34 : 6e49027e843ced2ad798da549004243e : Enriched 
> TrackingClick (CANCELED)
> 03.07.2018 10:42:31 : c901ae58787ba6aea4a46d6bb9dc2b3c : Enriched 
> TrackingClick (CANCELED)
> 03.07.2018 11:27:51 : 83ab149ad528cfd956da7090543cbc72 : Enriched 
> TrackingClick (RUNNING)
> --------------------------------------------------------------
> {code}
>  
> Proposal it to extend CLI program to show jobs only in the *RUNNING* state. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to