[ https://issues.apache.org/jira/browse/HAMA-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edward J. Yoon updated HAMA-838: -------------------------------- Attachment: patch.txt This patch adds aggregate(int index, M value) and getAggregatedValue(int index) methods to Vertex interface. We can refactor aggregator interface without heavy changes like: {code} @Override public void aggregate(int index, M value) throws IOException { this.runner.getAggregationRunner().aggregateVertex(index, oldValue, value); } {code} We can use the aggregator name instead of index. > 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, patch.txt > > > 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)