Return-Path: X-Original-To: apmail-hama-dev-archive@www.apache.org Delivered-To: apmail-hama-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3F18010D9B for ; Tue, 18 Mar 2014 13:57:51 +0000 (UTC) Received: (qmail 15577 invoked by uid 500); 18 Mar 2014 13:57:50 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 15244 invoked by uid 500); 18 Mar 2014 13:57:48 -0000 Mailing-List: contact dev-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hama.apache.org Delivered-To: mailing list dev@hama.apache.org Received: (qmail 14960 invoked by uid 99); 18 Mar 2014 13:57:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2014 13:57:44 +0000 Date: Tue, 18 Mar 2014 13:57:44 +0000 (UTC) From: "Anastasis Andronidis (JIRA)" To: dev@hama.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HAMA-892) Add Vertex Partitioner Interface for custom graph partitioner MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HAMA-892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anastasis Andronidis updated HAMA-892: -------------------------------------- Component/s: graph > 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 > Components: graph > 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)