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 47ECC1051B for ; Wed, 10 Apr 2013 15:30:18 +0000 (UTC) Received: (qmail 59108 invoked by uid 500); 10 Apr 2013 15:30:17 -0000 Delivered-To: apmail-giraph-dev-archive@giraph.apache.org Received: (qmail 59069 invoked by uid 500); 10 Apr 2013 15:30:17 -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 59013 invoked by uid 500); 10 Apr 2013 15:30:17 -0000 Delivered-To: apmail-incubator-giraph-dev@incubator.apache.org Received: (qmail 58998 invoked by uid 99); 10 Apr 2013 15:30:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2013 15:30:17 +0000 Date: Wed, 10 Apr 2013 15:30:17 +0000 (UTC) From: "Claudio Martella (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GIRAPH-613) Remove Writable from the interfaces implemented by Vertex 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-613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13627908#comment-13627908 ] Claudio Martella commented on GIRAPH-613: ----------------------------------------- I'm not sure where we reuse objects in the older code, and were I broke it. Can you indicate it? > Remove Writable from the interfaces implemented by Vertex > --------------------------------------------------------- > > Key: GIRAPH-613 > URL: https://issues.apache.org/jira/browse/GIRAPH-613 > Project: Giraph > Issue Type: Improvement > Reporter: Claudio Martella > Assignee: Claudio Martella > Priority: Minor > Attachments: GIRAPH-613.diff, NonWritable.diff > > > Currently, Vertex implements Writable, meaning that we depend on the user (except for the default implementation) on the way the graph is serialised and deserialized. This means we cannot do certain optimisations, and the user can actually add additional stuff to Vertex more than Value, Id, Edges and halt state. By removing this possibility (or allowing them to extend a default implementation) we take control of this. -- 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