Skip to content
Snippets Groups Projects
Commit 295d8258 authored by Reynold Xin's avatar Reynold Xin
Browse files

Minor update on SparkContext.broadcast's JavaDoc.

parent 46f6a3b6
No related branches found
No related tags found
No related merge requests found
......@@ -546,8 +546,8 @@ class SparkContext(
/**
* Broadcast a read-only variable to the cluster, returning a
* [[org.apache.spark.broadcast.Broadcast]] object for
* reading it in distributed functions. The variable will be sent to each cluster only once.
* [[org.apache.spark.broadcast.Broadcast]] object for reading it in distributed functions.
* The variable will be sent to each cluster only once.
*/
def broadcast[T](value: T) = env.broadcastManager.newBroadcast[T](value, isLocal)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment