You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Avery Ching (JIRA)" <ji...@apache.org> on 2012/05/29 22:52:23 UTC

[jira] [Resolved] (GIRAPH-187) SequenceFileVertexInputFormat has WritableComparable as a bounded type for I

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

Avery Ching resolved GIRAPH-187.
--------------------------------

    Resolution: Fixed

+1, committed.  Thanks Roman!
                
> SequenceFileVertexInputFormat has WritableComparable<I> as a bounded type for I
> -------------------------------------------------------------------------------
>
>                 Key: GIRAPH-187
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-187
>             Project: Giraph
>          Issue Type: Bug
>          Components: lib
>    Affects Versions: 0.2.0
>            Reporter: Jan van der Lugt
>            Assignee: Roman K
>            Priority: Minor
>         Attachments: GIRAPH-187.patch
>
>
> This is the first JIRA I ever file, so please let me know if I'm not doing this right.
> Basically, SequenceFileVertexInputFormat has WritableComparable<I> as a bounded type for I, while the Hadoop serializable data types implement WritableComparable. Because of this, I suspect TextVertexInputFormat only has WritableComparable as a bounded type for I and has a SuppressWarnings("rawtypes") annotation. I think SequenceFileVertexInputFormat should follow the same style, otherwise it's not possible to use, for example, IntComparable as vertex id type in a SequenceVertexInputFormat.

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