Xin Hao created FLINK-27370:
-------------------------------

             Summary: 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


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)

Reply via email to