You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by willb <gi...@git.apache.org> on 2014/04/15 16:35:12 UTC

[GitHub] spark pull request: SPARK-1501: Ensure assertions in Graph.apply a...

GitHub user willb opened a pull request:

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

    SPARK-1501: Ensure assertions in Graph.apply are asserted.

    The Graph.apply test in GraphSuite had some assertions in a closure in
    a graph transformation. As a consequence, these assertions never
    actually executed.  Furthermore, these closures had a reference to
    (non-serializable) test harness classes because they called assert(),
    which could be a problem if we proactively check closure serializability
    in the future.
    
    This commit simply changes the Graph.apply test to collect the graph
    triplets so it can assert about each triplet from a map method.

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

    $ git pull https://github.com/willb/spark graphsuite-nop-fix

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

    https://github.com/apache/spark/pull/415.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 #415
    
----
commit 0b636586b797546ce0cf78dbbfbe7462712aeaa4
Author: William Benton <wi...@redhat.com>
Date:   2014-03-14T16:40:56Z

    Ensure assertions in Graph.apply are asserted.
    
    The Graph.apply test in GraphSuite had some assertions in a closure in
    a graph transformation. As a consequence, these assertions never
    actually executed.  Furthermore, these closures had a reference to
    (non-serializable) test harness classes because they called assert(),
    which could be a problem if we proactively check closure serializability
    in the future.
    
    This commit simply changes the Graph.apply test to collect the graph
    triplets so it can assert about each triplet from a map 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: SPARK-1501: Ensure assertions in Graph.apply a...

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

    https://github.com/apache/spark/pull/415#issuecomment-40499268
  
    All automated tests passed.
    Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/14148/


---
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.
---

[GitHub] spark pull request: SPARK-1501: Ensure assertions in Graph.apply a...

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

    https://github.com/apache/spark/pull/415#issuecomment-40489064
  
     Merged build triggered. 


---
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.
---

[GitHub] spark pull request: SPARK-1501: Ensure assertions in Graph.apply a...

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

    https://github.com/apache/spark/pull/415#issuecomment-40510777
  
    lgtm. merged. 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.
---

[GitHub] spark pull request: SPARK-1501: Ensure assertions in Graph.apply a...

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

    https://github.com/apache/spark/pull/415#issuecomment-40499267
  
    Merged build finished. All automated tests 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.
---

[GitHub] spark pull request: SPARK-1501: Ensure assertions in Graph.apply a...

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

    https://github.com/apache/spark/pull/415#issuecomment-40489083
  
    Merged build started. 


---
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.
---

[GitHub] spark pull request: SPARK-1501: Ensure assertions in Graph.apply a...

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

    https://github.com/apache/spark/pull/415#issuecomment-40511186
  
    that is both master and branch-1.0


---
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.
---

[GitHub] spark pull request: SPARK-1501: Ensure assertions in Graph.apply a...

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

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


---
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.
---