Return-Path: X-Original-To: apmail-tez-issues-archive@minotaur.apache.org Delivered-To: apmail-tez-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D246D18921 for ; Thu, 4 Feb 2016 18:49:55 +0000 (UTC) Received: (qmail 82416 invoked by uid 500); 4 Feb 2016 18:49:40 -0000 Delivered-To: apmail-tez-issues-archive@tez.apache.org Received: (qmail 82386 invoked by uid 500); 4 Feb 2016 18:49:39 -0000 Mailing-List: contact issues-help@tez.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tez.apache.org Delivered-To: mailing list issues@tez.apache.org Received: (qmail 82354 invoked by uid 99); 4 Feb 2016 18:49:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2016 18:49:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CFF0D2C044E for ; Thu, 4 Feb 2016 18:49:39 +0000 (UTC) Date: Thu, 4 Feb 2016 18:49:39 +0000 (UTC) From: "Rajesh Balamohan (JIRA)" To: issues@tez.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TEZ-3093) CriticalPathAnalyzer should be accessible via zeppelin MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TEZ-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15132771#comment-15132771 ] Rajesh Balamohan commented on TEZ-3093: --------------------------------------- Normally, output-dir is populated by parsing the command line arguments passed. But OutputDir is not populated when zeppelin is used OOTB. > CriticalPathAnalyzer should be accessible via zeppelin > ------------------------------------------------------ > > Key: TEZ-3093 > URL: https://issues.apache.org/jira/browse/TEZ-3093 > Project: Apache Tez > Issue Type: Improvement > Reporter: Rajesh Balamohan > Attachments: TEZ-3093.1.patch > > > 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)