[
https://issues.apache.org/jira/browse/GIRAPH-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dionysios Logothetis resolved GIRAPH-149.
-----------------------------------------
Resolution: Fixed
> Clone Vertex on loading
> -----------------------
>
> Key: GIRAPH-149
> URL: https://issues.apache.org/jira/browse/GIRAPH-149
> Project: Giraph
> Issue Type: Bug
> Components: bsp
> Affects Versions: 0.1.0, 1.0.0
> Reporter: Zechao Shang
> Priority: Minor
>
> AFAIK, it's a documented behavior that Hadoop io reuses instance on loading
> data.
> Check BspServiceWorker#readVerticesFromInputSplit, readerVertex maybe reused
> by RecordReader(at least our SequenceFileVertexReader do), and must be cloned
> somewhere.
> In my opinion, our inherited RecordReaders should follow the behavior of
> Hadoop's RecordReader, and the vertex should be cloned in
> BspServiceWorker#readVerticesFromInputSplit. Just calling
> org.apache.hadoop.io.WritableUtils.clone will be fine.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)