Skip to content
Snippets Groups Projects
Commit 6eb1b6f6 authored by CrazyJvm's avatar CrazyJvm Committed by Reynold Xin
Browse files

Streaming doc : do you mean inadvertently?

Author: CrazyJvm <crazyjvm@gmail.com>

Closes #3620 from CrazyJvm/streaming-foreachRDD and squashes the following commits:

b72886b [CrazyJvm] do you mean inadvertently?
parent 98a7d099
No related branches found
No related tags found
No related merge requests found
...@@ -1081,7 +1081,7 @@ Some of the common mistakes to avoid are as follows. ...@@ -1081,7 +1081,7 @@ Some of the common mistakes to avoid are as follows.
- Often writing data to external system requires creating a connection object - Often writing data to external system requires creating a connection object
(e.g. TCP connection to a remote server) and using it to send data to a remote system. (e.g. TCP connection to a remote server) and using it to send data to a remote system.
For this purpose, a developer may inadvertantly try creating a connection object at For this purpose, a developer may inadvertently try creating a connection object at
the Spark driver, but try to use it in a Spark worker to save records in the RDDs. the Spark driver, but try to use it in a Spark worker to save records in the RDDs.
For example (in Scala), For example (in Scala),
......
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