aboutsummaryrefslogtreecommitdiff
path: root/docs/bagel-programming-guide.md
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@eecs.berkeley.edu>2012-09-16 20:46:46 -0700
committerJosh Rosen <joshrosen@eecs.berkeley.edu>2012-09-16 20:46:46 -0700
commitc94e9cc54aebddc20cc4ab13ca106781c7298642 (patch)
treea30f7f867e84ae77f5c120bbaf30dbbc23d39d99 /docs/bagel-programming-guide.md
parent098ae55db113ec01902aa0808e667b65dac13e05 (diff)
downloadspark-c94e9cc54aebddc20cc4ab13ca106781c7298642.tar.gz
spark-c94e9cc54aebddc20cc4ab13ca106781c7298642.tar.bz2
spark-c94e9cc54aebddc20cc4ab13ca106781c7298642.zip
Add Java Programming Guide; fix broken doc links.
Diffstat (limited to 'docs/bagel-programming-guide.md')
-rw-r--r--docs/bagel-programming-guide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/bagel-programming-guide.md b/docs/bagel-programming-guide.md
index b133376a97..0c925c176c 100644
--- a/docs/bagel-programming-guide.md
+++ b/docs/bagel-programming-guide.md
@@ -19,7 +19,7 @@ To write a Bagel application, you will need to add Spark, its dependencies, and
## Programming Model
-Bagel operates on a graph represented as a [distributed dataset]({{HOME_PATH}}programming-guide.html) of (K, V) pairs, where keys are vertex IDs and values are vertices plus their associated state. In each superstep, Bagel runs a user-specified compute function on each vertex that takes as input the current vertex state and a list of messages sent to that vertex during the previous superstep, and returns the new vertex state and a list of outgoing messages.
+Bagel operates on a graph represented as a [distributed dataset]({{HOME_PATH}}scala-programming-guide.html) of (K, V) pairs, where keys are vertex IDs and values are vertices plus their associated state. In each superstep, Bagel runs a user-specified compute function on each vertex that takes as input the current vertex state and a list of messages sent to that vertex during the previous superstep, and returns the new vertex state and a list of outgoing messages.
For example, we can use Bagel to implement PageRank. Here, vertices represent pages, edges represent links between pages, and messages represent shares of PageRank sent to the pages that a particular page links to.