Skip to content

Commit

Permalink
Fix doc for NetworkWordCount/JavaNetworkWordCount
Browse files Browse the repository at this point in the history
Usage: NetworkWordCount <master> <hostname> <port>
-->
Usage: NetworkWordCount <hostname> <port>
  • Loading branch information
jmu committed May 19, 2014
1 parent 69f7502 commit b9a6b02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/streaming-programming-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,12 @@ Then, in a different terminal, you can start the example by using
<div class="codetabs">
<div data-lang="scala" markdown="1">
{% highlight bash %}
$ ./bin/run-example org.apache.spark.examples.streaming.NetworkWordCount local[2] localhost 9999
$ ./bin/run-example org.apache.spark.examples.streaming.NetworkWordCount localhost 9999
{% endhighlight %}
</div>
<div data-lang="java" markdown="1">
{% highlight bash %}
$ ./bin/run-example org.apache.spark.examples.streaming.JavaNetworkWordCount local[2] localhost 9999
$ ./bin/run-example org.apache.spark.examples.streaming.JavaNetworkWordCount localhost 9999
{% endhighlight %}
</div>
</div>
Expand Down Expand Up @@ -268,7 +268,7 @@ hello world
{% highlight bash %}
# TERMINAL 2: RUNNING NetworkWordCount or JavaNetworkWordCount

$ ./bin/run-example org.apache.spark.examples.streaming.NetworkWordCount local[2] localhost 9999
$ ./bin/run-example org.apache.spark.examples.streaming.NetworkWordCount localhost 9999
...
-------------------------------------------
Time: 1357008430000 ms
Expand Down

0 comments on commit b9a6b02

Please sign in to comment.