Return-Path: X-Original-To: apmail-giraph-dev-archive@www.apache.org Delivered-To: apmail-giraph-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 68CF59E5C for ; Sun, 1 Jul 2012 03:35:04 +0000 (UTC) Received: (qmail 90149 invoked by uid 500); 1 Jul 2012 03:35:03 -0000 Delivered-To: apmail-giraph-dev-archive@giraph.apache.org Received: (qmail 90012 invoked by uid 500); 1 Jul 2012 03:35:02 -0000 Mailing-List: contact dev-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@giraph.apache.org Delivered-To: mailing list dev@giraph.apache.org Received: (qmail 89987 invoked by uid 500); 1 Jul 2012 03:35:02 -0000 Delivered-To: apmail-incubator-giraph-dev@incubator.apache.org Received: (qmail 89978 invoked by uid 99); 1 Jul 2012 03:35:01 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jul 2012 03:35:01 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 5794B1402B5 for ; Sun, 1 Jul 2012 03:34:59 +0000 (UTC) Date: Sun, 1 Jul 2012 03:34:58 +0000 (UTC) From: "Eli Reisman (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: <184728631.76170.1341113700360.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1292294535.75799.1341088123863.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (GIRAPH-227) ArrayWritables and their sub-classes don't play well with GiraphJob.run() 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/GIRAPH-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404674#comment-13404674 ] Eli Reisman commented on GIRAPH-227: ------------------------------------ If I have missed something here, perhaps a JIRA to get someone more experienced to put up a practice example or vertex showing best practices for using ArrayWritables successfully with Giraph is in order. Again, my concern is without this, Giraph will not support multigraph type edge values so, basically no multigraph support without heavier code chages/API changes. This seems unneeded when Hadoop already has ArrayWritable right there for us to use. Has anyone tried them on Giraph and just not submitted a patch yet? Thanks! > ArrayWritables and their sub-classes don't play well with GiraphJob.run() > ------------------------------------------------------------------------- > > Key: GIRAPH-227 > URL: https://issues.apache.org/jira/browse/GIRAPH-227 > Project: Giraph > Issue Type: Bug > Components: graph, test > Affects Versions: 0.2.0 > Reporter: Eli Reisman > Fix For: 0.2.0 > > > Twice now (GIRAPH-157 and GIRAPH-217) I have attempted to implement vertices that use ArrayWritables (including subclassing as described in Hadoop docs, and the generic String[] version with its own constructor). Although the code will compile and compute() can successfully be unit tested, a real run breaks the code. Thanks to Sean Choi (also struggling with this) for helping me figure out I'm not crazy, this is a real issue. > A guick grep in Giraph reveals no one else is using them yet, so maybe thats why this has gotten past us thus far. I am happy to take a hard look at GiraphJob (etc) and see if i can figure a workaround, but this one might be above my pay grade. Help! > Incidently, I used Sean's solution in 157 to simple output final data tuples as Text vertex values, but this is wasteful and not good for bulk data processing. Could be something about our output formats, but between us we have attempted several with no dice. If I have just been a newbie and missed something, please let me know, otherwise I'm going to change GIRAPH-217 to use Text output as well, and fix it again later when this issue is resolved. > Thanks for your help! -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira