You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by Ted Malaska <te...@cloudera.com> on 2013/10/22 17:28:21 UTC

Review Request 14842: Add additional Examples

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/14842/
-----------------------------------------------------------

Review request for giraph.


Bugs: GIRAPH-780
    https://issues.apache.org/jira/browse/GIRAPH-780


Repository: giraph-git


Description
-------

I'm new to Giraph and one of the things that would have been helpful would had been more examples.
Does anyone mind if I add an example for KMeans and Tree Building?
My first draft of these implementation are as follows:
1. https://github.com/tmalaska/Giraph.KMeans.Example
2. https://github.com/tmalaska/Giraph.TreeRooter.Example
If Giraph is interested I will make a patch that includes:
1. Full implemented and commented examples
2. Sample data
3. Documentation


Diffs
-----

  giraph-examples/src/main/java/org/apache/giraph/examples/BreadthFirstTreeNodeRooterComputation.java PRE-CREATION 
  giraph-examples/src/main/java/org/apache/giraph/examples/BreadthFirstTreeNodeRooterMasterComputeConputation.java PRE-CREATION 
  giraph-examples/src/main/java/org/apache/giraph/examples/BreadthFirstTreeNodeRooterVertexInputFormat.java PRE-CREATION 
  giraph-examples/src/main/java/org/apache/giraph/examples/BreadthFirstTreeNodeRooterVertexOutputFormat.java PRE-CREATION 
  giraph-examples/src/main/java/org/apache/giraph/examples/BreadthFirstTreeNodeRooterWorkerContext.java PRE-CREATION 
  giraph-examples/src/main/java/org/apache/giraph/examples/KMeansComputation.java PRE-CREATION 
  giraph-examples/src/main/java/org/apache/giraph/examples/KMeansMasterComputeCompuation.java PRE-CREATION 
  giraph-examples/src/main/java/org/apache/giraph/examples/KMeansVertexInputFormat.java PRE-CREATION 
  giraph-examples/src/main/java/org/apache/giraph/examples/KMeansVertexOutputFormat.java PRE-CREATION 
  giraph-examples/src/main/java/org/apache/giraph/examples/KMeansWorkerContext.java PRE-CREATION 
  giraph-examples/src/test/java/org/apache/giraph/examples/BreadthFirstTreeNodeRooterComputationTest.java PRE-CREATION 
  giraph-examples/src/test/java/org/apache/giraph/examples/KMeansComputationTest.java PRE-CREATION 

Diff: https://reviews.apache.org/r/14842/diff/


Testing
-------


Thanks,

Ted Malaska