You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by srowen <gi...@git.apache.org> on 2014/10/07 21:09:07 UTC

[GitHub] spark pull request: [Docs] logNormalGraph missing partition parame...

Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/2523#discussion_r18541629
  
    --- Diff: docs/graphx-programming-guide.md ---
    @@ -620,7 +620,7 @@ more senior followers of each user.
     import org.apache.spark.graphx.util.GraphGenerators
     // Create a graph with "age" as the vertex property.  Here we use a random graph for simplicity.
     val graph: Graph[Double, Int] =
    -  GraphGenerators.logNormalGraph(sc, numVertices = 100).mapVertices( (id, _) => id.toDouble )
    +  GraphGenerators.logNormalGraph(sc, numVertices = 100,sc.defaultParallelism).mapVertices( (id, _) => id.toDouble )
    --- End diff --
    
    I can't help myself to pedantry while you're here: space before `sc` please!


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