[ 
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

        

Reply via email to