[ https://issues.apache.org/jira/browse/TEZ-2658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660847#comment-14660847 ]
Saikat edited comment on TEZ-2658 at 8/6/15 9:37 PM: ----------------------------------------------------- Approach: create an instance of DagClientImpl to get the dag status/progress/counters etc. For listing all dags for an appid, DagClient doesnot expose any api. Hence hooked directly into DAGClientRPCImpl to get all dags. Similar api needed for DAGClientTimelineImpl to fetch all dags from timeline server. Need a jira for this. Because of this limitation: tez.sh dag -status <appid> can only fetch all dags for a live AM. Added a README.txt to list current capabilities. was (Author: saikatr): Approach: create an instance of DagClientImpl to get the dag status. For listing all dags for an appid, DagClient doesnot expose any api. Hence hooked directly into DAGClientRPCImpl to get all dags. Similar api needed for DAGClientTimelineImpl to fetch all dags from timeline server. Need a jira for this. Because of this limitation: tez.sh dag -status <appid> can only fetch all dags for a live AM. Added a README.txt to list current capabilities. > Create a CLI utility tool to track Tez DAG/Application Stats > ------------------------------------------------------------ > > Key: TEZ-2658 > URL: https://issues.apache.org/jira/browse/TEZ-2658 > Project: Apache Tez > Issue Type: Improvement > Reporter: Saikat > Assignee: Saikat > Attachments: TEZ-2658.1.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)