Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Now, a user just can see subtask current attempt in the timeline. If job failover, can not see some has canceled task timeline.
Proposed Changes
- In the 'subtasks' array, we have objects of type SubtaskTimeInfo with only one added field 'attempt'.
- add query parameter show-history, the default value is false. If show-history is true, information for all attempts including
previous ones will be returned - URL: /jobs/:jobid/vertices/:vertexid/subtasktimes?show-history=true
- response:
{ "type" : "object", "id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:SubtasksTimesInfo", "properties" : { "id" : { "type" : "string" }, "name" : { "type" : "string" }, "now" : { "type" : "integer" }, "subtasks" : { "type" : "array", "items" : { "type" : "object", "id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:SubtasksTimesInfo:SubtaskTimeInfo", "properties" : { "duration" : { "type" : "integer" }, "host" : { "type" : "string" }, "subtask" : { "type" : "integer" }, "timestamps" : { "type" : "object", "additionalProperties" : { "type" : "integer" } }, "attempt": { "type" : "integer" } } } } } }
Attachments
Issue Links
- mentioned in
-
Page Loading...