Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Add AM API for fetching realtime tasks info:
- API endpoint : /ws/v2/tez/tasksInfo
- Query Params:
- dagID: Just need to pass the dagIndex, (mandatory).
- vertexID: Just need to pass the vertexIndex. Can be a comma separated list
- taskID: Must be of the format <vertexIndex>_<taskIndex>. For instance task with index 5 in vertex 3 can be referenced using the id 3_5. Can be a comma separated list.
- limit: Maximum number of items to be returned (Defaults to 100).
- If taskID is passed: All (capped by limit) the specified tasks will be returned. vertexID if present wont be considered.
- IF vertexID is passed: All (capped by limit) tasks under the vertices will be returned.
- If just dagID is passed: All (capped by limit) tasks under the DAG will be returned.
- Data returned: complete task id, progress, status