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 EE2811091D for ; Mon, 30 Dec 2013 21:30:21 +0000 (UTC) Received: (qmail 88274 invoked by uid 500); 30 Dec 2013 21:30:21 -0000 Delivered-To: apmail-giraph-user-archive@giraph.apache.org Received: (qmail 88176 invoked by uid 500); 30 Dec 2013 21:30:21 -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 88168 invoked by uid 99); 30 Dec 2013 21:30:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Dec 2013 21:30:21 +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 lawrence.compton@gmail.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-wg0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Dec 2013 21:30:14 +0000 Received: by mail-wg0-f48.google.com with SMTP id z12so10562071wgg.27 for ; Mon, 30 Dec 2013 13:29:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=3OV4LkBuYDq54Ev3IwvzklsPkLAFMIq9ko3JQhTJWog=; b=KRnfxd3QQvnPYItCYdJuwMhUoHgkYmZvuTBXm3vJmRq4NDPtHAq13NZWQWItiMcpEi 5QLqVjrHuygInA2L4lhrmUEEX3653bP4MPHmDI1tC7NbE0MweUE0MrjurCML7rmKF4Fc 3xnlLi19VLd1+b53FSaDubOYyogLNZtd4m5nS4+w5yOXhDsUe3Pmdm3UPuH0m44tORIg tIuU1QJ2IUTOw49v/K6JYwImSHGaimGwkJ1NBRFGzQB0QiSqNGK36f3VBrW6DB9hEFnV 3qGU7NeLz6jHL4tVQfRBSy1IxTy8LiosGNPdYBsd3k+B8ZFCcbe1PG19ZpZotTyU7mFY JOSA== MIME-Version: 1.0 X-Received: by 10.180.90.37 with SMTP id bt5mr45831445wib.43.1388438994573; Mon, 30 Dec 2013 13:29:54 -0800 (PST) Received: by 10.180.188.37 with HTTP; Mon, 30 Dec 2013 13:29:54 -0800 (PST) Date: Mon, 30 Dec 2013 16:29:54 -0500 Message-ID: Subject: addEdgeRequest() - Already has missing vertex on this worker for X From: Larry Compton To: user@giraph.apache.org Cc: Larry Compton Content-Type: multipart/alternative; boundary=f46d043d6779105fd204eec72552 X-Virus-Checked: Checked by ClamAV on apache.org --f46d043d6779105fd204eec72552 Content-Type: text/plain; charset=ISO-8859-1 Giraph 1.0.0 - Hadoop 0.20.2 (CDH3U5) The Giraph algorithm I'm developing dynamically retrieves adjacent vertices from within the Vertex.compute() method. The retrieval returns immediate neighbors and also relationships between the neighbors. For instance, for vertex A, the following edges could be retrieved... A->B A->C B->C I'm trying to use the Vertex API to dynamically add vertices B and C and all three edges. I've managed to successfully add B and C, along with edges A->B and A->C (using Vertex.setEdges()). However, I'm having problems adding B->C using Vertex.addEdgeRequest(). It's saying... Already has missing vertex on this worker for B ...presumably because the addition of B to A's adjacency list also causes the vertex for B to be created. What's the proper way to update the graph? Larry --f46d043d6779105fd204eec72552 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Giraph 1.0.0 - Had= oop 0.20.2 (CDH3U5)

The Giraph algorithm I'm developi= ng dynamically retrieves adjacent vertices from within the Vertex.compute()= method. The retrieval returns immediate neighbors and also relationships b= etween the neighbors. For instance, for vertex A, the following edges could= be retrieved...
A->B
A->C
B->C

I'm = trying to use the Vertex API to dynamically add vertices B and C and all th= ree edges. I've managed to successfully add B and C, along with edges A= ->B and A->C (using Vertex.setEdges()). However, I'm having probl= ems adding B->C using Vertex.addEdgeRequest(). It's saying...

Already has missing vertex on this worker for B

...presuma= bly because the addition of B to A's adjacency list also causes the ver= tex for B to be created.

What's the proper way to update t= he graph?

Larry
--f46d043d6779105fd204eec72552--