giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gianmarco De Francisci Morales (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-266) Average aggregators don't calculate real average
Date Tue, 24 Jul 2012 17:53:34 GMT

    [ https://issues.apache.org/jira/browse/GIRAPH-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421580#comment-13421580
] 

Gianmarco De Francisci Morales commented on GIRAPH-266:
-------------------------------------------------------

Average is not an associative operation, so I would not support it directly in aggregators.
So I am also in favor of option 1.
Option 3 sounds over-engineered to me, however there might be use cases where one wants to
aggregate complex values, so it might have some value in the long run.
                
> Average aggregators don't calculate real average
> ------------------------------------------------
>
>                 Key: GIRAPH-266
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-266
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Maja Kabiljo
>            Assignee: Maja Kabiljo
>
> Average aggregators calculate average on workers, and then workers' averages are sent
to the master, where we actually calculate the average of averages. 
> For example, if one worker aggregates value 2, the other values 4 and 6, and third values
8, 8 and 8, we'll get the result of 5 instead of 6.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message