[
https://issues.apache.org/jira/browse/GIRAPH-739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13741040#comment-13741040
]
Hudson commented on GIRAPH-739:
-------------------------------
SUCCESS: Integrated in Giraph-trunk-Commit #1248 (See
[https://builds.apache.org/job/Giraph-trunk-Commit/1248/])
GIRAPH-739 (claudio:
http://git-wip-us.apache.org/repos/asf?p=giraph.git&a=commit&h=328cc82923a445b62090a6ba7863c35d51815b91)
* CHANGELOG
*
giraph-core/src/main/java/org/apache/giraph/aggregators/TextAggregatorWriter.java
> Discrepancy among numeric constants corresponding to frequency of writing in
> TextAggregatorWriter
> -------------------------------------------------------------------------------------------------
>
> Key: GIRAPH-739
> URL: https://issues.apache.org/jira/browse/GIRAPH-739
> Project: Giraph
> Issue Type: Bug
> Reporter: Kyle Orlando
> Priority: Minor
> Labels: aggregator, patch, writer
> Attachments: GIRAPH-739.patch
>
>
> In the TextAggreggatorWriter class in org.apache.giraph.aggregators, there
> are static constants at the top of the class that correspond to the frequency
> of writing.
> The _NEVER_ constant corresponds to never writing anything to a file, and it
> is assigned an (int) value of 0.
> _AT_THE_END_ corresponds to writing to a file only once, when the computation
> is over, and it is assigned a numeric value of -1.
>
> The third type of frequency is where the discrepancy exists: _ALWAYS_
> corresponds to writing to a file in every superstep, and it is also assigned
> a numeric value of -1.
> _ALWAYS_'s value should be changed to a 1. This is because the condition for
> writing (as governed by the shouldWrite() method) can be met when superstep %
> frequency == 0, which is always the case when frequency == 1.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira