You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by dash <bs...@nd.edu> on 2014/06/22 22:51:18 UTC

GraphX's VertexRDD can not be materialized by calling count()

Hi there,

Seems one can not materialize VertexRDD by simply calling count method,
which is overridden by VertexRDD. But if you call RDD's count, it could
materialize it.

Is this a feature that designed to get the count without materialize
VertexRDD? 

If so, do you guys think it is necessary to add a materialize method to
VertexRDD? I did that and ready to send a pull request, but I just want to
make sure this is reasonable. 

By the way, does count() is the cheapest way to materialize a RDD? Or it
just cost the same resources like other actions?

Best, 



--
View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/GraphX-s-VertexRDD-can-not-be-materialized-by-calling-count-tp7065.html
Sent from the Apache Spark Developers List mailing list archive at Nabble.com.