giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Reisman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GIRAPH-228) SimpleTriangleClosingVertex should not use ArrayWritable for a vertex value
Date Mon, 02 Jul 2012 17:14:21 GMT

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

Eli Reisman updated GIRAPH-228:
-------------------------------

    Attachment: GIRAPH-228-2.patch

Needed to fix the iterator() to the new API so the vertex would run. Some changes have happened
since i started working on this. Sorry. Still using Text output. Will generate a version using
ArrayListWritable but will hold off uploading it until I know if including the library for
it in POM is ok, no big deal if not.

Also renamed some unit tests for clarity, passes mvn verify etc.

                
> SimpleTriangleClosingVertex should not use ArrayWritable for a vertex value
> ---------------------------------------------------------------------------
>
>                 Key: GIRAPH-228
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-228
>             Project: Giraph
>          Issue Type: Bug
>          Components: examples, test
>    Affects Versions: 0.2.0
>            Reporter: Eli Reisman
>            Assignee: Eli Reisman
>            Priority: Trivial
>             Fix For: 0.2.0
>
>         Attachments: GIRAPH-228-1.patch, GIRAPH-228-2.patch
>
>
> Need to convert to (yuck) Text output for vertex values, hope my tuples don't get too
long. I followed several instructions from Hadoop about subclassing and using existing ArrayWritables,
always both methods will compile with 'mvn verify' nicely, but break in actual use. GiraphJob.run()
seems to be the culprit. Don't know if I can solve this myself in a way that will be pleasing
to everyone. See GIRAPH-227 if you can help fix this ArrayWritable problem. As far as the
vertex example, I'll covert it (and related tests) to Text output now.
> Thanks again to Sean Choi, who noticed this and used the same (Text for tuples) solution
successfully. ;)
>  

--
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

        

Mime
View raw message