Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
titleSchema of response for /jobs/:jobid/rescales/history
linenumberstrue
collapsetrue
[
    {                
      "rescaleUuid": ${hexString},
      "resourceRequirementsUuid":"${UUID}",
      "rescaleAttemptId": 1,        
      // ignored detail here to reduce the response size. the fine-grained detail could be view in ‘/jobs/:jobid/rescales/details/:rescaleuuid’
      "vertices": {},
      // ignored detail here to reduce the response size. the fine-grained detail could be view in ‘/jobs/:jobid/rescales/details/:rescaleuuid’
      "slots": {},
      // ignored detail here to reduce the response size. the fine-grained detail could be view in "scheduler_states" field in ‘/jobs/:jobid/rescales/details/:rescaleuuid’
      "schedulerStates": [],
      "terminalState": "COMPLETED",
      "triggerCause": "xxxxx",
      "terminatedReason": "xxxxx",
      "startTimestampInMillis": 1733279950222,//milliseconds.
      "endTimestampInMillis":1733279950222,//milliseconds.
      // "durationInMillis": 11111, The attribute is deprecated and removed. When showing the field in the UI, we can calculate it by startTimestampInMillis and endTimestampInMillis.
      // If the endTimestampInMillis is null, we could use the current time milliseconds timestamp to minus the startTimestampInMillis for getting durationInMillis. 
    },
    ...
 ]

...