[jira] [Updated] (GIRAPH-90) LongDoubleFloatDoubleVertex has possibily the iterator() implementation broken

2011-11-24 Thread Claudio Martella (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/GIRAPH-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claudio Martella updated GIRAPH-90:
---

Attachment: GIRAPH-90.diff

2-liners, removes caching.

 LongDoubleFloatDoubleVertex has possibily the iterator() implementation broken
 --

 Key: GIRAPH-90
 URL: https://issues.apache.org/jira/browse/GIRAPH-90
 Project: Giraph
  Issue Type: Bug
  Components: graph
Affects Versions: 0.70.0
Reporter: Claudio Martella
Assignee: Claudio Martella
 Fix For: 0.70.0

 Attachments: GIRAPH-90.diff


 iterator() implementation returns LongWritable which is cached in a final 
 variable and set() with the new value at next(). This could be misleading as 
 the user might create a list from the iterator's data. Something similar is 
 happening in the getMsgList() as well.
 Is this really what we want?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (GIRAPH-51) Provide unit testing tool for Giraph algorithms

2011-11-24 Thread Sebastian Schelter (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/GIRAPH-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sebastian Schelter updated GIRAPH-51:
-

Attachment: GIRAPH-51-3.patch

fixed the javadoc errors in the patch

 Provide unit testing tool for Giraph algorithms
 ---

 Key: GIRAPH-51
 URL: https://issues.apache.org/jira/browse/GIRAPH-51
 Project: Giraph
  Issue Type: Improvement
Reporter: Jakob Homan
Assignee: Sebastian Schelter
 Attachments: GIRAPH-51-2.patch, GIRAPH-51-3.patch, GIRAPH-51.patch


 It would be nice to have a little tool, similar to MRUnit, that would allow 
 Giraph application writers to quickly unit test their algorithms.  The tool 
 could take a Vertex implementation, a set of input and expected output and 
 verify that after the specified number of supersteps, we've gotten what we 
 expect.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira