Skip to content
Snippets Groups Projects
Commit 623c675f authored by Keiji Yoshida's avatar Keiji Yoshida Committed by Sean Owen
Browse files

Update streaming-programming-guide.md

Update `See the Scala example` to `See the Java example`.

Author: Keiji Yoshida <yoshida.keiji.84@gmail.com>

Closes #8376 from yosssi/patch-1.
parent 90cb9f05
No related branches found
No related tags found
No related merge requests found
...@@ -1702,7 +1702,7 @@ context.awaitTermination(); ...@@ -1702,7 +1702,7 @@ context.awaitTermination();
If the `checkpointDirectory` exists, then the context will be recreated from the checkpoint data. If the `checkpointDirectory` exists, then the context will be recreated from the checkpoint data.
If the directory does not exist (i.e., running for the first time), If the directory does not exist (i.e., running for the first time),
then the function `contextFactory` will be called to create a new then the function `contextFactory` will be called to create a new
context and set up the DStreams. See the Scala example context and set up the DStreams. See the Java example
[JavaRecoverableNetworkWordCount]({{site.SPARK_GITHUB_URL}}/tree/master/examples/src/main/java/org/apache/spark/examples/streaming/JavaRecoverableNetworkWordCount.java). [JavaRecoverableNetworkWordCount]({{site.SPARK_GITHUB_URL}}/tree/master/examples/src/main/java/org/apache/spark/examples/streaming/JavaRecoverableNetworkWordCount.java).
This example appends the word counts of network data into a file. This example appends the word counts of network data into a file.
......
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