GitHub user bxshi opened a pull request:

    https://github.com/apache/spark/pull/1177

    add a materialize method to materialize VertexRDD by calling RDD's count

    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? 
    
    By the way, does count() is the cheapest way to materialize a RDD? Or it 
just cost the same resources like other actions? 
    
    Best,

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bxshi/spark materialize_vertexRDD

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/1177.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1177
    
----
commit 3be5d6a6f6285c6276d80210bf477c483c09c2f9
Author: bxshi <baoxu....@gmail.com>
Date:   2014-06-22T20:39:52Z

    add a materialize method to materialize VertexRDD by calling RDD's count 
method

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to