Return-Path: X-Original-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 85D028009 for ; Mon, 22 Aug 2011 19:22:52 +0000 (UTC) Received: (qmail 99450 invoked by uid 500); 22 Aug 2011 19:22:52 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 99364 invoked by uid 500); 22 Aug 2011 19:22:51 -0000 Mailing-List: contact hama-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@incubator.apache.org Delivered-To: mailing list hama-dev@incubator.apache.org Received: (qmail 99356 invoked by uid 99); 22 Aug 2011 19:22:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2011 19:22:50 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2011 19:22:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7F349CA824 for ; Mon, 22 Aug 2011 19:22:29 +0000 (UTC) Date: Mon, 22 Aug 2011 19:22:29 +0000 (UTC) From: "Thomas Jungblut (JIRA)" To: hama-dev@incubator.apache.org Message-ID: <1556972236.2364.1314040949517.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1427748175.53731.1313777907174.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HAMA-423) Improve and Refactor Partitioning in the Examples 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-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Jungblut updated HAMA-423: --------------------------------- Attachment: HAMA-423-withoutCRs.patch Made it with: tr -d '\r' < HAMA-423-v1.patch > ../Desktop/HAMA-423-withoutCRs.patch I'm so sorry, because I've coded it on windows. The example executes faster than the one before, not just the partitioning. Seems to be a "good graph" :D > 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 > > Attachments: HAMA-423-v1.patch, HAMA-423-withoutCRs.patch, sickimprovement.PNG > > > 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