hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anastasis Andronidis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-838) Add custom aggregators
Date Tue, 07 Jan 2014 10:31:55 GMT

    [ https://issues.apache.org/jira/browse/HAMA-838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864073#comment-13864073

Anastasis Andronidis commented on HAMA-838:

Sorry for the code style, my eclipse was old and for some reason didn't utilize the XML.

I can start documenting the basic concepts from now. Should I start on wiki right?

BTW, I'm thinking that we should make some changes on the Aggregator interface that might
help us later on to create the persistent aggregators like:

1) Create a clean() method. Creating a new instance (in AggregatorRunner) in every run is
time consuming and stressing for GC.
2) Create two abstract classes/interfaces for a) RegularAggregator b) PersistentAggregator

> 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

View raw message