hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HAMA-892) Add Vertex Partitioner Interface for custom graph partitioner
Date Tue, 18 Mar 2014 10:52:44 GMT

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

Edward J. Yoon updated HAMA-892:
--------------------------------

    Labels: gsoc2014  (was: )

> Add Vertex Partitioner Interface for custom graph partitioner
> -------------------------------------------------------------
>
>                 Key: HAMA-892
>                 URL: https://issues.apache.org/jira/browse/HAMA-892
>             Project: Hama
>          Issue Type: New Feature
>            Reporter: Edward J. Yoon
>              Labels: gsoc2014
>
> This issue is related with custom graph partitioner HAMA-891 
> Since http://svn.apache.org/repos/asf/hama/trunk/core/src/main/java/org/apache/hama/bsp/Partitioner.java
is designed for key value pairs, graph package should have own Vertex Partitioner interface.
> Below also need to be changed.
> {code}
>   /**
>    * @return the destination peer name of the given vertex id, determined by the
>    *         partitioner.
>    */
>   public String getDestinationPeerName(V vertexId) {
>     return runner.getPeer().getPeerName(
>         getPartitioner().getPartition(vertexId, value,
>             runner.getPeer().getNumPeers()));
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message