Rajesh Balamohan created TEZ-3093:
-------------------------------------

             Summary: CriticalPathAnalyzer should be accessible via zeppelin
                 Key: TEZ-3093
                 URL: https://issues.apache.org/jira/browse/TEZ-3093
             Project: Apache Tez
          Issue Type: Bug
            Reporter: Rajesh Balamohan


CriticalPathAnalyzer is mainly used as a standalone tool (via yarn jar 
command). However, it should be possible to integrate this with tools like 
zeppelin where in this can be accessed in spark context. For e.g

{code}
var config = new Configuration()
config.set("tez.critical-path-analyzer.svg-dir", 
"/tmp/html/analyzer/criticalPath/")
config.set("tez.critical-path-analyzer.draw-svg", "true")
var criticalPathAnalyzer = new CriticalPathAnalyzer(config)
criticalPathAnalyzer.analyze(dagInfo)
var cpResult = criticalPathAnalyzer.getResult
{code}



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

Reply via email to