[ 
https://issues.apache.org/jira/browse/GIRAPH-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408034#comment-13408034
 ] 

Harsh J commented on GIRAPH-235:
--------------------------------

I haven't spelunked very deep into Giraph's various examples but from what I 
have seen, nothing seems to use a non-textual format so far. The text writer is 
key/value class agnostic, but sequence file writer isn't and hence the fact 
that Giraph doesn't configure Output Key/Value classes in config does not 
impact the other record writers.

I think it should be fine to tweak context with the values of those vertex 
classes for your sequence file output format purposes. Since Giraph does not 
make use of the default output format channel anyway, this should be alright 
(see BspRecordWriter comments and impl.).

To be safe, perhaps once the writer for your class has been created, you can 
reset the context configuration to be its previous values.
                
> SequenceFile output format (id-value only)
> ------------------------------------------
>
>                 Key: GIRAPH-235
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-235
>             Project: Giraph
>          Issue Type: New Feature
>          Components: lib
>            Reporter: Gianmarco De Francisci Morales
>         Attachments: GIRAPH-235.1.patch
>
>
> Create a SequenceFileOutputFormat for the cases where compression is 
> important and we only want the value of the vertex (e.g. pagerank)

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