Return-Path: X-Original-To: apmail-giraph-user-archive@www.apache.org Delivered-To: apmail-giraph-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A32B110F03 for ; Tue, 9 Jul 2013 14:57:42 +0000 (UTC) Received: (qmail 63088 invoked by uid 500); 9 Jul 2013 14:57:42 -0000 Delivered-To: apmail-giraph-user-archive@giraph.apache.org Received: (qmail 62948 invoked by uid 500); 9 Jul 2013 14:57:37 -0000 Mailing-List: contact user-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@giraph.apache.org Delivered-To: mailing list user@giraph.apache.org Received: (qmail 62936 invoked by uid 99); 9 Jul 2013 14:57:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jul 2013 14:57:36 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of prvs=09029fc2be=alessandro@fb.com designates 67.231.153.30 as permitted sender) Received: from [67.231.153.30] (HELO mx0b-00082601.pphosted.com) (67.231.153.30) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jul 2013 14:57:29 +0000 Received: from pps.filterd (m0004060 [127.0.0.1]) by mx0b-00082601.pphosted.com (8.14.5/8.14.5) with SMTP id r69EreAZ028836 for ; Tue, 9 Jul 2013 07:57:08 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fb.com; h=from : to : subject : date : message-id : in-reply-to : content-type : mime-version; s=facebook; bh=yEnUi0vCpbKyqC+eXJAu6s7aUNAwthNuwcQAxBe8cu4=; b=iOD+BWbWBwizswlqlcmJFrg7IA/8lhD568F+IzYePP00BheruO/4Cz/Luhq8FD0txi59 fwTUl1YKMfUQkcUico1RHC3m0a35ZTTW0nt31IG5f5MGKDY9Za2pTB3/DRO1+sxFyTul N8WxbzLUIxpwGo2doYHDxrJu085cQwx1Qo4= Received: from mail.thefacebook.com (prn1-cmdf-dc01-fw1-nat.corp.tfbnw.net [173.252.71.129] (may be forged)) by mx0b-00082601.pphosted.com with ESMTP id 1dggutrpuw-2 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK) for ; Tue, 09 Jul 2013 07:57:08 -0700 Received: from PRN-MBX01-5.TheFacebook.com ([169.254.4.142]) by PRN-CHUB01.TheFacebook.com ([fe80::d5cc:849:f520:db6b%12]) with mapi id 14.03.0146.000; Tue, 9 Jul 2013 07:57:04 -0700 From: Alessandro Presta To: "user@giraph.apache.org" Subject: Re: Regarding multiple values of a vertex Thread-Topic: Regarding multiple values of a vertex Thread-Index: AQHOfHWCRG2JzfFy5kKTCHbCptLnWJlccDgA Date: Tue, 9 Jul 2013 14:57:03 +0000 Message-ID: <566834A0CA4ED742A53644FF331260D438189505@PRN-MBX01-5.TheFacebook.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.16.4] Content-Type: multipart/alternative; boundary="_000_566834A0CA4ED742A53644FF331260D438189505PRNMBX015TheFac_" MIME-Version: 1.0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794,1.0.431,0.0.0000 definitions=2013-07-09_04:2013-07-09,2013-07-09,1970-01-01 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_566834A0CA4ED742A53644FF331260D438189505PRNMBX015TheFac_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Harsh, It's currently not possible to combine multiple vertex values, but it is on= our roadmap. For now, you could try using MapReduce to aggregate those values before you= feed them to the Giraph job. Alessandro From: Harsh Rathi > Reply-To: "user@giraph.apache.org" > Date: Tuesday, July 9, 2013 12:24 AM To: "user@giraph.apache.org" > Subject: Regarding multiple values of a vertex Hi All, I am taking input graph in the form of 2 separate files "Edge-List" and "Ve= rtex-List". In Vertex-List file, a vertex can have multiple values (value of vertex is = of text format) i.e. there can be multiple entries of vertex-value pair for= same vertex. While taking input of a vertex in Giraph, it checks whether if vertex is al= ready present in graph, then it replaces the old value with new value of v= ertex. I want to append all the vertex values for the same vertex (String f= ormat). I can do it by changing the giraph-core's source code. But, I am looking fo= r a solution in which while taking input using vertex-input class, it is po= ssible retrieve old value of that vertex. Is it possible to do what I am pr= oposing ? Can I retrieve the value of vertex using Vertex Id in vertex-inpu= t class ? Thanks Harsh Rathi IIT Delhi --_000_566834A0CA4ED742A53644FF331260D438189505PRNMBX015TheFac_ Content-Type: text/html; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable
Hi Harsh,

It's currently not possible to combine multiple vertex values, but it = is on our roadmap.
For now, you could try using MapReduce to aggregate those values befor= e you feed them to the Giraph job.

Alessandro

From: Harsh Rathi <harsh.cs09@gmail.com>
Reply-To: "user@giraph.apache.org" <user@giraph.apache.org>
Date: Tuesday, July 9, 2013 12:24 A= M
To: "user@giraph.apache.org" <user@giraph.apache.org>
Subject: Regarding multiple values = of a vertex

Hi All,

I am taking input graph in the form of 2 separate files &qu= ot;Edge-List" and "Vertex-List". 
In Vertex-List file, a vertex can have multiple values (val= ue of vertex is of text format) i.e. there can be multiple entries of verte= x-value pair for same vertex.

While taking input of a vertex in Giraph, it checks whether= if vertex is already present in graph, then it replaces the old value with=  new value of vertex. I want to append all the vertex values for the = same vertex (String format). 

I can do it by changing the giraph-core's source code. But,= I am looking for a solution in which while taking input using vertex-input= class, it is possible retrieve old value of that vertex. Is it possible to= do what I am proposing ? Can I retrieve the value of vertex using Vertex Id in vertex-input class ?



Thanks


Harsh Rathi
IIT Delhi
--_000_566834A0CA4ED742A53644FF331260D438189505PRNMBX015TheFac_--