[
https://issues.apache.org/jira/browse/HAMA-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Edward J. Yoon updated HAMA-838:
--------------------------------
Attachment: HAMA-838_v02.patch
I've changed few minor things.
-pageJob.registerAggregator("avg", AverageAggregator.class);
+pageJob.registerAggregator(AVG_AGGREGATOR, AverageAggregator.class);
Moved CustomAggregator example to unit test. We currently have too many
examples I think.
And, please use our code-format in the future. You can download here -
http://hama.apache.org/developers.html
> Add custom aggregators
> ----------------------
>
> Key: HAMA-838
> URL: https://issues.apache.org/jira/browse/HAMA-838
> Project: Hama
> Issue Type: Improvement
> Components: graph
> Affects Versions: 0.6.3
> Reporter: Anastasis Andronidis
> Assignee: Anastasis Andronidis
> Labels: features, patch
> Fix For: 0.7.0
>
> Attachments: HAMA-838.patch, HAMA-838_v02.patch
>
>
> This is a patch that adds custom aggregators.
> I also wrote an example of how you can use them.
> Implementation features:
> * Register the aggregators by name.
> * Custom aggregators are skipped when there are no messages to process
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)