You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@giraph.apache.org by cl...@apache.org on 2013/08/15 16:48:47 UTC

git commit: updated refs/heads/trunk to 328cc82

Updated Branches:
  refs/heads/trunk 44ae3c38c -> 328cc8292


GIRAPH-739


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

Branch: refs/heads/trunk
Commit: 328cc82923a445b62090a6ba7863c35d51815b91
Parents: 44ae3c3
Author: Claudio Martella <cl...@apache.org>
Authored: Thu Aug 15 16:48:31 2013 +0200
Committer: Claudio Martella <cl...@apache.org>
Committed: Thu Aug 15 16:48:31 2013 +0200

----------------------------------------------------------------------
 CHANGELOG                                                         | 3 +++
 .../java/org/apache/giraph/aggregators/TextAggregatorWriter.java  | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/giraph/blob/328cc829/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index e79a04d..c8d20c8 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,9 @@
 Giraph Change Log
 
 Release 1.1.0 - unreleased
+  GIRAPH-739: Discrepancy among numeric constants corresponding to frequency of 
+  writing in TextAggregatorWriter (korlando via claudio)
+
   GIRAPH-740: ArrayListWritable object is not cleared in readFields()
   (korlando via claudio)
 

http://git-wip-us.apache.org/repos/asf/giraph/blob/328cc829/giraph-core/src/main/java/org/apache/giraph/aggregators/TextAggregatorWriter.java
----------------------------------------------------------------------
diff --git a/giraph-core/src/main/java/org/apache/giraph/aggregators/TextAggregatorWriter.java b/giraph-core/src/main/java/org/apache/giraph/aggregators/TextAggregatorWriter.java
index 2c96496..67ce5a4 100644
--- a/giraph-core/src/main/java/org/apache/giraph/aggregators/TextAggregatorWriter.java
+++ b/giraph-core/src/main/java/org/apache/giraph/aggregators/TextAggregatorWriter.java
@@ -44,7 +44,7 @@ public class TextAggregatorWriter
   /** Signal for "write only the final values" frequency */
   public static final int AT_THE_END = -1;
   /** Signal for "write values in every superstep" frequency */
-  public static final int ALWAYS = -1;
+  public static final int ALWAYS = 1;
   /** The frequency of writing:
    *  - NEVER: never write, files aren't created at all
    *  - AT_THE_END: aggregators are written only when the computation is over