Repository: spark
Updated Branches:
  refs/heads/branch-1.0 24a1cac4e -> 3669bb8e6


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 <jmu...@gmail.com>

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>
(cherry picked from commit 82eadc3b07d3f00eebd30811f981016e68cf60bf)

Signed-off-by: Patrick Wendell <pwend...@gmail.com>


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

Branch: refs/heads/branch-1.0
Commit: 3669bb8e6d7d0c2a3aefd52fbd0edd7bf6fb1bdb
Parents: 24a1cac
Author: jmu <jmu...@gmail.com>
Authored: Tue May 27 22:41:47 2014 -0700
Committer: Patrick Wendell <pwend...@gmail.com>
Committed: Tue May 27 22:42:02 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/3669bb8e/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