aboutsummaryrefslogtreecommitdiff
path: root/docs/bagel-programming-guide.md
diff options
context:
space:
mode:
authorMatei Zaharia <matei@eecs.berkeley.edu>2013-08-31 22:17:40 -0700
committerMatei Zaharia <matei@eecs.berkeley.edu>2013-09-01 14:13:15 -0700
commit4f422032e507d698b9c717b5228154d4527a639a (patch)
tree8344eaf7e8721aa3d9e64556694823127fb0942e /docs/bagel-programming-guide.md
parent4d1cb59fe1dc9181268c8e61fc042990854f83c5 (diff)
downloadspark-4f422032e507d698b9c717b5228154d4527a639a.tar.gz
spark-4f422032e507d698b9c717b5228154d4527a639a.tar.bz2
spark-4f422032e507d698b9c717b5228154d4527a639a.zip
Update docs for new package
Diffstat (limited to 'docs/bagel-programming-guide.md')
-rw-r--r--docs/bagel-programming-guide.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/bagel-programming-guide.md b/docs/bagel-programming-guide.md
index c526da3ca0..20b1e9b26d 100644
--- a/docs/bagel-programming-guide.md
+++ b/docs/bagel-programming-guide.md
@@ -29,8 +29,8 @@ representing the current PageRank of the vertex, and similarly extend
the `Message` and `Edge` classes. Note that these need to be marked `@serializable` to allow Spark to transfer them across machines. We also import the Bagel types and implicit conversions.
{% highlight scala %}
-import spark.bagel._
-import spark.bagel.Bagel._
+import org.apache.spark.bagel._
+import org.apache.spark.bagel.Bagel._
@serializable class PREdge(val targetId: String) extends Edge
@@ -158,4 +158,4 @@ trait Message[K] {
## Where to Go from Here
-Two example jobs, PageRank and shortest path, are included in `examples/src/main/scala/spark/examples/bagel`. You can run them by passing the class name to the `run-example` script included in Spark -- for example, `./run-example spark.examples.bagel.WikipediaPageRank`. Each example program prints usage help when run without any arguments.
+Two example jobs, PageRank and shortest path, are included in `examples/src/main/scala/org/apache/spark/examples/bagel`. You can run them by passing the class name to the `run-example` script included in Spark -- for example, `./run-example org.apache.spark.examples.bagel.WikipediaPageRank`. Each example program prints usage help when run without any arguments.