MonsterChenzhuo commented on issue #1423:
URL: 
https://github.com/apache/incubator-streampark/issues/1423#issuecomment-1278563285

   Implementation logic.
   We get the corresponding archive log file from the jobid [the log file is 
generated by the jobmanage at the end]
   The archived log file is parsed by json to get the state of the file
   {
       "jobs":[
           {
               "jid":"002c63091ecc95bd395260dbbdc69d2a",
               "name":"SQLJob-passport-api_kp_ziroom_com_dpLogin-1594315680",
               "state":"FAILED",
               "start-time":1594315681845,
               "end-time":1594315691522,
               "duration":9677,
               "last-modification":1594315691522,
               "tasks":{
                   "total":2,
                   "created":0,
                   "scheduled":0,
                   "deploying":0,
                   "running":0,
                   "finished":0,
                   "canceling":0,
                   "canceled":1,
                   "failed":1,
                   "reconciling":0
               }
           }
       ]
   }


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