You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by jkbradley <gi...@git.apache.org> on 2015/02/03 00:05:45 UTC

[GitHub] spark pull request: [SPARK-5534] [graphx] Graph getStorageLevel fi...

GitHub user jkbradley opened a pull request:

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

    [SPARK-5534] [graphx]  Graph getStorageLevel fix

    This fixes getStorageLevel for EdgeRDDImpl and VertexRDDImpl (and therefore for Graph).
    
    See code example on JIRA which failed before but works with this patch: [https://issues.apache.org/jira/browse/SPARK-5534]
    (The added unit tests also failed before but work with this fix.)
    
    Note: I used partitionsRDD, assuming that getStorageLevel will only be called on the driver.
    
    **QUESTION**: Please look at GraphSuite's test("cache, getStorageLevel").  It succeeds, but should it?  After constructing the graph, vertices are cached, but edges are not.
    
    CC: @mengxr  (related to LDA PR), @rxin  @ankurdave   Thanks in advance!

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

    $ git pull https://github.com/jkbradley/spark graphx-storagelevel

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

    https://github.com/apache/spark/pull/4317.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 #4317
    
----
commit 17b488bb0cb5976e512f97cf9cf317de5dbf867f
Author: Joseph K. Bradley <jo...@databricks.com>
Date:   2015-02-02T22:26:44Z

    overrode getStorageLevel in Vertex/EdgeRDDImpl to use partitionsRDD

commit 18d64cacfba403041957743650b91a4e59677c6c
Author: Joseph K. Bradley <jo...@databricks.com>
Date:   2015-02-02T23:02:06Z

    Added tests for getStorageLevel in VertexRDDSuite, EdgeRDDSuite, GraphSuite

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-5534] [graphx] Graph getStorageLevel fi...

Posted by mengxr <gi...@git.apache.org>.
Github user mengxr commented on the pull request:

    https://github.com/apache/spark/pull/4317#issuecomment-72572309
  
    Merged into master. Thanks!


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-5534] [graphx] Graph getStorageLevel fi...

Posted by mengxr <gi...@git.apache.org>.
Github user mengxr commented on the pull request:

    https://github.com/apache/spark/pull/4317#issuecomment-72561592
  
    LGTM pending Jenkins ...


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-5534] [graphx] Graph getStorageLevel fi...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/4317#issuecomment-72558511
  
      [Test build #26552 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/26552/consoleFull) for   PR 4317 at commit [`18d64ca`](https://github.com/apache/spark/commit/18d64cacfba403041957743650b91a4e59677c6c).
     * This patch merges cleanly.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-5534] [graphx] Graph getStorageLevel fi...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/4317#issuecomment-72567818
  
      [Test build #26554 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/26554/consoleFull) for   PR 4317 at commit [`1c21e49`](https://github.com/apache/spark/commit/1c21e499135243f8f88517cdf65b1f0dcc217957).
     * This patch **passes all tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-5534] [graphx] Graph getStorageLevel fi...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/4317#issuecomment-72559255
  
      [Test build #26554 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/26554/consoleFull) for   PR 4317 at commit [`1c21e49`](https://github.com/apache/spark/commit/1c21e499135243f8f88517cdf65b1f0dcc217957).
     * This patch merges cleanly.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-5534] [graphx] Graph getStorageLevel fi...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/4317#issuecomment-72567821
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26554/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-5534] [graphx] Graph getStorageLevel fi...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/4317#issuecomment-72567319
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26552/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-5534] [graphx] Graph getStorageLevel fi...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-5534] [graphx] Graph getStorageLevel fi...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/4317#issuecomment-72567312
  
      [Test build #26552 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/26552/consoleFull) for   PR 4317 at commit [`18d64ca`](https://github.com/apache/spark/commit/18d64cacfba403041957743650b91a4e59677c6c).
     * This patch **passes all tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org