[ https://issues.apache.org/jira/browse/FLINK-27370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17528217#comment-17528217 ]
Aitozi commented on FLINK-27370: -------------------------------- Get it, I think we can add the {{success}} field here as a direct indication of whether reconcile succeed. cc [~gyfora] do you have some inputs for this ? > 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)