You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aitozi (Jira)" <ji...@apache.org> on 2022/04/26 06:08:00 UTC

[jira] [Commented] (FLINK-27370) Add a new SessionJobState - Failed

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

Aitozi commented on FLINK-27370:
--------------------------------

It previously have a {{success=true/false}} field do you mean that ? 

> Add a new SessionJobState - Failed
> ----------------------------------
>
>                 Key: FLINK-27370
>                 URL: https://issues.apache.org/jira/browse/FLINK-27370
>             Project: Flink
>          Issue Type: Improvement
>          Components: Kubernetes Operator
>            Reporter: Xin Hao
>            Priority: Minor
>
> It will be nice if we can add a new SessionJobState Failed to indicate there is an error for the session job.
> {code:java}
> status:
>   error: 'The error message'
>   jobStatus:
>     savepointInfo: {}
>   reconciliationStatus:
>     reconciliationTimestamp: 0
>     state: DEPLOYED {code}
> Reason:
> 1. It will be easier for monitoring
> 2. I have a personal controller to submit session jobs, it will be cleaner to check the state by a single field and get the details by the error field.
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)