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 5BD38D118 for ; Tue, 16 Oct 2012 17:23:06 +0000 (UTC) Received: (qmail 60429 invoked by uid 500); 16 Oct 2012 17:23:06 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 60415 invoked by uid 500); 16 Oct 2012 17:23:06 -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 60405 invoked by uid 99); 16 Oct 2012 17:23:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2012 17:23:06 +0000 Date: Tue, 16 Oct 2012 17:23:06 +0000 (UTC) From: "Thomas Jungblut (JIRA)" To: dev@hama.apache.org Message-ID: <813456138.52341.1350408186236.JavaMail.jiratomcat@arcas> In-Reply-To: <620418743.79325.1347607689073.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HAMA-642) Make GraphRunner disk based 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-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477179#comment-13477179 ] Thomas Jungblut commented on HAMA-642: -------------------------------------- Lol found a hack. Just add a bq.vertices.put(key, vertex); instead of the buffermap put, and it works correctly again. I'm going to provide an updated version of the patch, would be cool if someone can test this on a cluster. Thanks! > Make GraphRunner disk based > --------------------------- > > Key: HAMA-642 > URL: https://issues.apache.org/jira/browse/HAMA-642 > Project: Hama > Issue Type: Improvement > Components: graph > Affects Versions: 0.5.0 > Reporter: Thomas Jungblut > Assignee: Thomas Jungblut > Attachments: HAMA-642_unix_1.patch, HAMA-642_unix_2.patch, HAMA-scale_1.patch, HAMA-scale_2.patch, HAMA-scale_3.patch, HAMA-scale_4.patch > > > To improve scalability we can improve the graph runner to be disk based. > Which basically means: > - We have just a single Vertex instance that get's refilled. > - We directly write vertices to disk after partitioning > - In every superstep we iterate over the vertices on disk, fill the vertex instance and call the users compute functions > Problems: > - State other than vertex value can't be stored easy > - How do we deal with random access after messages have arrived? > So I think we should make the graph runner more hybrid, like using the queues we have implemented in the messaging. So the graphrunner can be configured to run completely on disk, in cached mode or in in-memory mode. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira