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 738CCC2BB for ; Tue, 12 Aug 2014 04:19:12 +0000 (UTC) Received: (qmail 40665 invoked by uid 500); 12 Aug 2014 04:19:12 -0000 Delivered-To: apmail-giraph-dev-archive@giraph.apache.org Received: (qmail 40616 invoked by uid 500); 12 Aug 2014 04:19:12 -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 40597 invoked by uid 500); 12 Aug 2014 04:19:12 -0000 Delivered-To: apmail-incubator-giraph-dev@incubator.apache.org Received: (qmail 40592 invoked by uid 99); 12 Aug 2014 04:19:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2014 04:19:12 +0000 Date: Tue, 12 Aug 2014 04:19:11 +0000 (UTC) From: "Seong-il Lee (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (GIRAPH-941) Rexster vertices read bug 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-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Seong-il Lee updated GIRAPH-941: -------------------------------- Description: *Problem:* When Giraph reads from Titan DB via Rexster, it uses api like below /graphs/%s/tp/giraph/%s/rexster.offset.start=%s&rexster.offset.end=%s - offset.start : index of start vertex - offset.end : index of end vertex Titan DB has 100 vertices and I want to read vertices 1 to 10. So, I set offset.start = 1 offset.end = 10 But, Rexster read whole vertices from Titan DB. *Reason:* giraph-rexster/giraph-kibble/src/main/java/org/apache/giraph/rexster/kibble/IteratorVertex.java There was a vertex count variable, but it didn't work correctly. (it didn't increase) *Solution:* Add code to increase vertex count was: Problem: When Giraph reads from Titan DB via Rexster, it uses api like below /graphs/%s/tp/giraph/%s/rexster.offset.start=%s&rexster.offset.end=%s - offset.start : index of start vertex - offset.end : index of end vertex Titan DB has 100 vertices and I want to read vertices 1 to 10. So, I set offset.start = 1 offset.end = 10 But, Rexster read whole vertices from Titan DB. Reason: giraph-rexster/giraph-kibble/src/main/java/org/apache/giraph/rexster/kibble/IteratorVertex.java There was a vertex count variable, but it didn't work correctly. (it didn't increase) Solution: Add code to increase vertex count > Rexster vertices read bug > ------------------------- > > Key: GIRAPH-941 > URL: https://issues.apache.org/jira/browse/GIRAPH-941 > Project: Giraph > Issue Type: Bug > Environment: - Ubuntu 12.04 > - Hadoop 1.2.1 > - Giraph trunk > - Titan 0.4.4 > Reporter: Seong-il Lee > Priority: Minor > Attachments: GIRAPH-941.patch > > > *Problem:* > When Giraph reads from Titan DB via Rexster, it uses api like below > /graphs/%s/tp/giraph/%s/rexster.offset.start=%s&rexster.offset.end=%s > - offset.start : index of start vertex > - offset.end : index of end vertex > Titan DB has 100 vertices and I want to read vertices 1 to 10. > So, I set > offset.start = 1 > offset.end = 10 > But, Rexster read whole vertices from Titan DB. > *Reason:* > giraph-rexster/giraph-kibble/src/main/java/org/apache/giraph/rexster/kibble/IteratorVertex.java > There was a vertex count variable, but it didn't work correctly. (it didn't increase) > *Solution:* > Add code to increase vertex count -- This message was sent by Atlassian JIRA (v6.2#6252)