[ https://issues.apache.org/jira/browse/TEZ-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14738221#comment-14738221 ]
Sreenath Somarajapuram edited comment on TEZ-2792 at 9/10/15 6:48 AM: ---------------------------------------------------------------------- [~hitesh] bq. MinID was a bit confusing as it seems to indicate "minimum id" - maybe use dagId or dagIndex, vertexId/vertexIndex and something more meaninful for task? - For tasks/applications wouldn't it be a bit confusing to pass 5_11/7_9_13 as ID or index? The values are neither ID nor index. - What might be a better name? dagMinID was added considering "applications" that might have multiple DAGs. - No web-service call should support cross-dag queries. A single dag id/index is sufficient. -- Yes, dagMinID accepts just one single id. bq. Also, please use "!isEmpty()" instead of "size() == 0" - Thanks will do that in patch 2. was (Author: sreenath): [~hitesh] MinID was a bit confusing as it seems to indicate "minimum id" - maybe use dagId or dagIndex, vertexId/vertexIndex and something more meaninful for task? - For tasks/applications wouldn't it be a bit confusing to pass 5_11/7_9_13 as ID or index? The values are neither ID nor index. - What might be a better name? dagMinID was added considering "applications" that might have multiple DAGs. - No web-service call should support cross-dag queries. A single dag id/index is sufficient. -- Yes, dagMinID accepts just one single id. Also, please use "!isEmpty()" instead of "size() == 0" - Thanks will do that in patch 2. > 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)