You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/05/25 10:10:51 UTC

[GitHub] [flink-kubernetes-operator] morhidi commented on pull request #237: [FLINK-27257] Flink kubernetes operator triggers savepoint failed because of not all tasks running

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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org