[
https://issues.apache.org/jira/browse/TEZ-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14737275#comment-14737275
]
Hitesh Shah edited comment on TEZ-2792 at 9/9/15 5:45 PM:
----------------------------------------------------------
bq. Should that be graceful?
What will the UI do? Will it retry? Should it show everything as unavailable
even if 9 out of 10 tasks had data available?
bq. do we have a final idea on how filters and sorting must work?
Can be added in a follow-up jira. If the current plan is to get all task Ids
from ATS and then update them live via data from the AM, that should be fine
for an initial approach.
was (Author: hitesh):
bq. Should that be graceful?
What will the UI do? Will it retry? Should it show everything as unavailable
even if 9 out of 10 tasks had data available?
bq. do we have a final idea on how filters and sorting must work?
Can be added in a follow-up jira.
> Add AM web service API for tasks.
> ---------------------------------
>
> Key: TEZ-2792
> URL: https://issues.apache.org/jira/browse/TEZ-2792
> Project: Apache Tez
> Issue Type: Sub-task
> Components: UI
> Reporter: Sreenath Somarajapuram
> Assignee: Sreenath Somarajapuram
> Attachments: TEZ-2792.1.patch
>
>
> Add AM API for fetching realtime tasks info:
> - API endpoint : /ws/v2/tez/tasksInfo
> - Query Params:
> -- dagMinID: dagMinID = dagIndex, (mandatory).
> -- vertexMinID: A comma separated list. vertexMinID = vertexIndex.
> -- taskMinID: A comma separated list. taskMinID = vertexIndex_taskIndex
> -- limit: Maximum number of items to be returned (Defaults to 100).
> - If taskMinID is passed: All (capped by limit) the specified tasks will be
> returned. vertexMinID if present wont be considered.
> - IF vertexMinID 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)