Repository: tez Updated Branches: refs/heads/master 12e1aae1e -> c7397f5de
TEZ-3093. addendum patch (rbalamohan) Project: http://git-wip-us.apache.org/repos/asf/tez/repo Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/c7397f5d Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/c7397f5d Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/c7397f5d Branch: refs/heads/master Commit: c7397f5de42bd83f2a479ca1b29ef007cc40cc25 Parents: 12e1aae Author: Rajesh Balamohan <[email protected]> Authored: Thu Feb 4 19:04:28 2016 -0800 Committer: Rajesh Balamohan <[email protected]> Committed: Thu Feb 4 19:04:28 2016 -0800 ---------------------------------------------------------------------- .../org/apache/tez/analyzer/plugins/CriticalPathAnalyzer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tez/blob/c7397f5d/tez-tools/analyzers/job-analyzer/src/main/java/org/apache/tez/analyzer/plugins/CriticalPathAnalyzer.java ---------------------------------------------------------------------- diff --git a/tez-tools/analyzers/job-analyzer/src/main/java/org/apache/tez/analyzer/plugins/CriticalPathAnalyzer.java b/tez-tools/analyzers/job-analyzer/src/main/java/org/apache/tez/analyzer/plugins/CriticalPathAnalyzer.java index a7e37ab..88c5134 100644 --- a/tez-tools/analyzers/job-analyzer/src/main/java/org/apache/tez/analyzer/plugins/CriticalPathAnalyzer.java +++ b/tez-tools/analyzers/job-analyzer/src/main/java/org/apache/tez/analyzer/plugins/CriticalPathAnalyzer.java @@ -62,7 +62,7 @@ public class CriticalPathAnalyzer extends TezAnalyzerBase implements Analyzer { } public static final String DRAW_SVG = "tez.critical-path-analyzer.draw-svg"; - public static final String SVG_DIR = "output-dir"; + public static final String OUTPUT_DIR = "output-dir"; public static class CriticalPathStep { public enum EntityType { @@ -159,7 +159,7 @@ public class CriticalPathAnalyzer extends TezAnalyzerBase implements Analyzer { SVGUtils svg = new SVGUtils(); String outputDir = getOutputDir(); if (outputDir == null) { - outputDir = getConf().get(SVG_DIR); + outputDir = getConf().get(OUTPUT_DIR); } String outputFileName = outputDir + File.separator + dagInfo.getDagId() + ".svg"; System.out.println("Writing output to: " + outputFileName);
