[ 
https://issues.apache.org/jira/browse/TEZ-2690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14728202#comment-14728202
 ] 

Bikas Saha commented on TEZ-2690:
---------------------------------

[~zxzxy1988] Thanks for your interest. We would appreciate people trying this 
out and give feedback. It will help us improve and stabilize the feature.
First the DAG data needs to be in ATS.
Then first download the DAG data to local file. Example.
{noformat}hadoop jar ./tez/dist/tez/tez-history-parser-0.8.1-SNAPSHOT.jar 
org.apache.tez.history.ATSImportTool -dagId dag_1439860407967_0080_1 
--downloadDir tmp/ {noformat}
This will download dag_1439860407967_0080_1.zip file to tmp directory.
Then run the analyzer like
{noformat}hadoop jar 
tez/tez-dist/target/tez-0.8.1-SNAPSHOT/tez-job-analyzer-0.8.1-SNAPSHOT.jar 
CriticalPath --dagId=dag_1439860407967_0080_1 
--atsFileName=tmp/test/dag_1439860407967_0080_1.zip --outputDir=tmp/{noformat}
This will generate the svg in the outputDir.

> Add critical path analyser
> --------------------------
>
>                 Key: TEZ-2690
>                 URL: https://issues.apache.org/jira/browse/TEZ-2690
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Bikas Saha
>            Assignee: Bikas Saha
>             Fix For: 0.8.0-alpha
>
>         Attachments: TEZ-2690.1.patch, TEZ-2690.2.patch, TEZ-2690.3.patch, 
> TEZ-2690.4.patch, TEZ-2690.5.patch, TEZ-2690.6.patch, criticalPath.jpg, 
> dag_1439860407967_0030_1.svg
>
>
> Use input and scheduling dependencies to create critical path for a DAG.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to