Repository: spark Updated Branches: refs/heads/branch-2.0 38787ec93 -> a34a54435
[SPARK-16438] Add Asynchronous Actions documentation ## What changes were proposed in this pull request? Add Asynchronous Actions documentation inside action of programming guide ## How was this patch tested? check the documentation indentation and formatting with md preview. Author: sandy <phal...@gmail.com> Closes #14104 from phalodi/SPARK-16438. (cherry picked from commit bf107f1e6522f9138d454b0723089c24626e775a) Signed-off-by: Sean Owen <so...@cloudera.com> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/a34a5443 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/a34a5443 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/a34a5443 Branch: refs/heads/branch-2.0 Commit: a34a54435f6af572b33017945dd34a1b5898bf31 Parents: 38787ec Author: sandy <phal...@gmail.com> Authored: Wed Jul 13 11:33:46 2016 +0100 Committer: Sean Owen <so...@cloudera.com> Committed: Wed Jul 13 11:33:54 2016 +0100 ---------------------------------------------------------------------- docs/programming-guide.md | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/a34a5443/docs/programming-guide.md ---------------------------------------------------------------------- diff --git a/docs/programming-guide.md b/docs/programming-guide.md index 3872aec..2bc4912 100644 --- a/docs/programming-guide.md +++ b/docs/programming-guide.md @@ -1101,6 +1101,9 @@ for details. </tr> </table> +The Spark RDD API also exposes asynchronous versions of some actions, like `foreachAsync` for `foreach`, which immediately return a `FutureAction` to the caller instead of blocking on completion of the action. This can be used to manage or wait for the asynchronous execution of the action. + + ### Shuffle operations Certain operations within Spark trigger an event known as the shuffle. The shuffle is Spark's --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org