[ 
https://issues.apache.org/jira/browse/GIRAPH-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maja Kabiljo updated GIRAPH-22:
-------------------------------

    Attachment: GIRAPH-22.patch

I think aggregators and combiners should stay in giraph-core. The only thing 
left is to move GeneratedVertexInputFormat to giraph-examples and we can close 
this.
                
> Sort out examples from unit test helpers in examples package
> ------------------------------------------------------------
>
>                 Key: GIRAPH-22
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-22
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: Jakob Homan
>         Attachments: GIRAPH-22.patch
>
>
> Within src/examples there are quite a few files defined that are mainly used 
> in unit or other tests:
> * GeneratedVertexInputFormat
> * GeneratedVertexInputFormat
> * LongSumAggregator
> * MaxAggregator
> * MinAggregator
> * SimpleCombinerVertex
> * SimpleFailVertex
> * SimpleMsgVertex
> * SimpleMutateGraphVertex
> * SimpleSumCombiner
> * SumAggregator
> * SuperstepBalancer
> Several of these explicitly say they're designed to aid in unit testing.  If 
> these are indeed meant for testing, they should be moved to the test 
> directory.  If they're examples, it would be better to sort out the overly 
> complicated ones and ones that include lots of tests and asserts, so only to 
> show the essence of the example.  Hopefully the examples directory have a 
> few, very heavily documented programs of the helloworld/word count/shortest 
> path variety (with sample inputs) that can be quickly launched.  Once new 
> developers grok these, they can turn to the unit tests, which can of course 
> be great sources to learn the code from.

--
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

Reply via email to