Repository: spark
Updated Branches:
  refs/heads/master 9df86835b -> 82eadc3b0


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 #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>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/82eadc3b
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/82eadc3b
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/82eadc3b

Branch: refs/heads/master
Commit: 82eadc3b07d3f00eebd30811f981016e68cf60bf
Parents: 9df8683
Author: jmu <[email protected]>
Authored: Tue May 27 22:41:47 2014 -0700
Committer: Patrick Wendell <[email protected]>
Committed: Tue May 27 22:41:47 2014 -0700

----------------------------------------------------------------------
 docs/streaming-programming-guide.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/82eadc3b/docs/streaming-programming-guide.md
----------------------------------------------------------------------
diff --git a/docs/streaming-programming-guide.md 
b/docs/streaming-programming-guide.md
index 0c125eb..972b660 100644
--- a/docs/streaming-programming-guide.md
+++ b/docs/streaming-programming-guide.md
@@ -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>
@@ -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

Reply via email to