You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by sr...@apache.org on 2016/02/18 10:58:07 UTC
[13/24] tez git commit: TEZ-3093. addendum patch (rbalamohan)
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/TEZ-2980
Commit: c7397f5de42bd83f2a479ca1b29ef007cc40cc25
Parents: 12e1aae
Author: Rajesh Balamohan <rb...@apache.org>
Authored: Thu Feb 4 19:04:28 2016 -0800
Committer: Rajesh Balamohan <rb...@apache.org>
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);