giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seong-il Lee (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GIRAPH-941) Rexster vertices read bug
Date Tue, 12 Aug 2014 04:31:12 GMT

     [ 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:*

https://giraph.apache.org/rexster.html

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:*
> https://giraph.apache.org/rexster.html
> 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)

Mime
View raw message