Seong-il Lee created GIRAPH-941:
-----------------------------------

             Summary: 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)

Reply via email to