crunch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwi...@apache.org
Subject [1/2] crunch git commit: CRUNCH-531: Fix split graph rendering typo.
Date Thu, 25 Jun 2015 08:10:47 GMT
Repository: crunch
Updated Branches:
  refs/heads/master 484545a58 -> d176778cf


CRUNCH-531: Fix split graph rendering typo.


Project: http://git-wip-us.apache.org/repos/asf/crunch/repo
Commit: http://git-wip-us.apache.org/repos/asf/crunch/commit/d4da5299
Tree: http://git-wip-us.apache.org/repos/asf/crunch/tree/d4da5299
Diff: http://git-wip-us.apache.org/repos/asf/crunch/diff/d4da5299

Branch: refs/heads/master
Commit: d4da529985593ecf84c057938baf706a144e9024
Parents: 484545a
Author: Josh Wills <jwills@apache.org>
Authored: Thu Jun 4 09:30:42 2015 -0700
Committer: Josh Wills <jwills@apache.org>
Committed: Thu Jun 25 08:55:21 2015 +0100

----------------------------------------------------------------------
 .../org/apache/crunch/impl/mr/plan/DotfileUtills.java     | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/crunch/blob/d4da5299/crunch-core/src/main/java/org/apache/crunch/impl/mr/plan/DotfileUtills.java
----------------------------------------------------------------------
diff --git a/crunch-core/src/main/java/org/apache/crunch/impl/mr/plan/DotfileUtills.java b/crunch-core/src/main/java/org/apache/crunch/impl/mr/plan/DotfileUtills.java
index 7b401cb..7dea255 100644
--- a/crunch-core/src/main/java/org/apache/crunch/impl/mr/plan/DotfileUtills.java
+++ b/crunch-core/src/main/java/org/apache/crunch/impl/mr/plan/DotfileUtills.java
@@ -58,7 +58,6 @@ public class DotfileUtills {
    * Builds a lineage dotfile only if the dotfile-debug mode is enabled.
    */
   void buildLineageDotfile(Map<PCollectionImpl<?>, Set<Target>> outputs)
{
-
     if (isDebugDotfilesEnabled(conf)) {
       try {
         pcollectionLineageDotfile = new DotfileWriterPCollectionLineage(outputs)
@@ -73,7 +72,6 @@ public class DotfileUtills {
    * Builds the base graph dotfile only if the dotfile-debug mode is enabled.
    */
   void buildBaseGraphDotfile(Map<PCollectionImpl<?>, Set<Target>> outputs,
Graph graph) {
-
     if (isDebugDotfilesEnabled(conf)) {
       try {
         basePlanGraphDotfile = new DotfileWriterGraph(graph, outputs, null).buildDiagram("Base
Graph ("
@@ -85,15 +83,13 @@ public class DotfileUtills {
   }
 
   /**
-   * Builds a splitted graph dotfile only if the dotfile-debug mode is enabled.
+   * Builds a split graph dotfile only if the dotfile-debug mode is enabled.
    */
   void buildSplitGraphDotfile(Map<PCollectionImpl<?>, Set<Target>> outputs,
Graph graph, List<List<Vertex>> components) {
-
     if (isDebugDotfilesEnabled(conf)) {
       try {
-        splitGraphPlanDotfile = new DotfileWriterGraph(graph, outputs, null).buildDiagram("Graph
With Components ("
-            + jarClass.getSimpleName() + ")");
-
+        splitGraphPlanDotfile = new DotfileWriterGraph(graph, outputs, components)
+            .buildDiagram("Graph With Components (" + jarClass.getSimpleName() + ")");
       } catch (Exception ex) {
         LOG.error("Problem creating debug dotfile:", ex);
       }


Mime
View raw message