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

Yang Xia closed TINKERPOP-1118.
-------------------------------
    Resolution: Won't Do

Closing given 
[discussion|https://lists.apache.org/thread/om2m0phg25s83529p9w0gldmcxz7578h] - 
it can be reopened if there is expectation that there will be active work on 
this item.

> SparkGraphComputer should use StarGraph, not VertexWritable.
> ------------------------------------------------------------
>
>                 Key: TINKERPOP-1118
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1118
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: hadoop
>    Affects Versions: 3.1.1-incubating
>            Reporter: Marko A. Rodriguez
>            Priority: Major
>              Labels: breaking
>
> {{SparkGraphComputer}} input RDDs are typed as:
> {code}
> JavaPairRDD<Object,VertexWritable>
> {code}
> The {{VertexWritable}} usage is a vestige from Hadoop and Giraph. In Spark, 
> we don't need to have this wrapper and thus, we can reduce the overhead (one 
> less object header) by making the input RDDs typed as:
> {code}
> JavaPairRDD<Object,StarGraph>
> {code}
> This would be a breaking change for graph providers that implement their own 
> {{InputRDD}} and {{OutputRDD}}, however, the fix is trivial. Instead of {{new 
> VertexWritable(vertex)}}, they would simply do {{StarGraph.of(vertex)}}. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to