Improve and Refactor Partitioning in the Examples
-------------------------------------------------
Key: HAMA-423
URL: https://issues.apache.org/jira/browse/HAMA-423
Project: Hama
Issue Type: Improvement
Components: examples
Affects Versions: 0.3.0
Reporter: Thomas Jungblut
Assignee: Thomas Jungblut
Fix For: 0.4.0, 0.5.0
Currently partitioning will write a key/value pair for each vertex/adjacent
mapping.
This results in heavy IO writes which actually bloats the file and let the
partitioning take unnecessarily long.
We should partition directly into the vertex classes and implement a vertex
list/array writable which just writes a single key/value pair for a
vertex/all-adjacents mapping.
In fact we should make it generic, passing a vertex class which should
implement the Writable interface.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira