giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avery Ching (JIRA)" <>
Subject [jira] [Commented] (GIRAPH-227) ArrayWritables and their sub-classes don't play well with
Date Sun, 01 Jul 2012 05:53:48 GMT


Avery Ching commented on GIRAPH-227:

Have you tried ArrayListWritable (Giraph)?  See MsgList for an example.  That should work.

> ArrayWritables and their sub-classes don't play well with
> -------------------------------------------------------------------------
>                 Key: GIRAPH-227
>                 URL:
>             Project: Giraph
>          Issue Type: Bug
>          Components: graph, test
>    Affects Versions: 0.2.0
>            Reporter: Eli Reisman
>             Fix For: 0.2.0
> Twice now (GIRAPH-157 and GIRAPH-217) I have attempted to implement vertices that use
ArrayWritables (including subclassing as described in Hadoop docs, and the generic String[]
version with its own constructor). Although the code will compile and compute() can successfully
be unit tested, a real run breaks the code. Thanks to Sean Choi (also struggling with this)
for helping me figure out I'm not crazy, this is a real issue.
> A guick grep in Giraph reveals no one else is using them yet, so maybe thats why this
has gotten past us thus far. I am happy to take a hard look at GiraphJob (etc) and see if
i can figure a workaround, but this one might be above my pay grade. Help!
> Incidently, I used Sean's solution in 157 to simple output final data tuples as Text
vertex values, but this is wasteful and not good for bulk data processing. Could be something
about our output formats, but between us we have attempted several with no dice. If I have
just been a newbie and missed something, please let me know, otherwise I'm going to change
GIRAPH-217 to use Text output as well, and fix it again later when this issue is resolved.
> Thanks for your help!

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message