incubator-giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman K (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GIRAPH-187) SequenceFileVertexInputFormat has WritableComparable<I> as a bounded type for I
Date Mon, 30 Apr 2012 13:44:49 GMT

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

Roman K updated GIRAPH-187:
---------------------------

    Attachment: GIRAPH-187.patch

Type changed so that SequenceFileVertexInputFormat can be used with types such as the Hadoop's
IntWritable.

"mvn compile" and simple test class compiled properly.
                
> 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
>            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

        

Mime
View raw message