morhidi commented on PR #237:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/237#issuecomment-1137054088

   @wangyang0918 we have the detailed JOB state: ```
   ```
   {
     "jobs": [
       {
         "jid": "00000000000000000000000000000000",
         "name": "State machine job",
         "state": "RUNNING",
         "start-time": 1653471451258,
         "end-time": -1,
         "duration": 1666751,
         "last-modification": 1653472755540,
         "tasks": {
           "total": 4,
           "created": 0,
           "scheduled": 0,
           "deploying": 0,
           "running": 4,
           "finished": 0,
           "canceling": 0,
           "canceled": 0,
           "failed": 0,
           "reconciling": 0,
           "initializing": 0
         }
       }
     ]
   }
   ```
   
   The Rest Client doesn't seem to map everything 
https://github.com/apache/flink/blob/ffca99d5f369c21182b729ce5abe082ffa40d579/flink-clients/src/main/java/org/apache/flink/client/program/rest/RestClusterClient.java#L611
   
   We can create our own listJobs method, and we could have an accurate state.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to