Skip to content

Commit 82eadc3

Browse files
jmupwendell
authored andcommitted
Fix doc about NetworkWordCount/JavaNetworkWordCount usage of spark streaming
Usage: NetworkWordCount <master> <hostname> <port> --> Usage: NetworkWordCount <hostname> <port> Usage: JavaNetworkWordCount <master> <hostname> <port> --> Usage: JavaNetworkWordCount <hostname> <port> Author: jmu <[email protected]> Closes apache#826 from jmu/master and squashes the following commits: 9fb7980 [jmu] Merge branch 'master' of https://github.com/jmu/spark b9a6b02 [jmu] Fix doc for NetworkWordCount/JavaNetworkWordCount Usage: NetworkWordCount <master> <hostname> <port> --> Usage: NetworkWordCount <hostname> <port>
1 parent 9df8683 commit 82eadc3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/streaming-programming-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,12 @@ Then, in a different terminal, you can start the example by using
234234
<div class="codetabs">
235235
<div data-lang="scala" markdown="1">
236236
{% highlight bash %}
237-
$ ./bin/run-example org.apache.spark.examples.streaming.NetworkWordCount local[2] localhost 9999
237+
$ ./bin/run-example org.apache.spark.examples.streaming.NetworkWordCount localhost 9999
238238
{% endhighlight %}
239239
</div>
240240
<div data-lang="java" markdown="1">
241241
{% highlight bash %}
242-
$ ./bin/run-example org.apache.spark.examples.streaming.JavaNetworkWordCount local[2] localhost 9999
242+
$ ./bin/run-example org.apache.spark.examples.streaming.JavaNetworkWordCount localhost 9999
243243
{% endhighlight %}
244244
</div>
245245
</div>
@@ -268,7 +268,7 @@ hello world
268268
{% highlight bash %}
269269
# TERMINAL 2: RUNNING NetworkWordCount or JavaNetworkWordCount
270270

271-
$ ./bin/run-example org.apache.spark.examples.streaming.NetworkWordCount local[2] localhost 9999
271+
$ ./bin/run-example org.apache.spark.examples.streaming.NetworkWordCount localhost 9999
272272
...
273273
-------------------------------------------
274274
Time: 1357008430000 ms

0 commit comments

Comments
 (0)