diff options
author | Kenneth Myers <myerske@us.ibm.com> | 2015-03-02 17:25:24 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-03-02 17:25:24 +0000 |
commit | 95ac68bf127b5370c13d6bc15adbda78228829cc (patch) | |
tree | cecfdd691423177594ac10ae9b8fa2bfd3288aee | |
parent | 3efd8bb6cf139ce094ff631c7a9c1eb93fdcd566 (diff) | |
download | spark-95ac68bf127b5370c13d6bc15adbda78228829cc.tar.gz spark-95ac68bf127b5370c13d6bc15adbda78228829cc.tar.bz2 spark-95ac68bf127b5370c13d6bc15adbda78228829cc.zip |
[SPARK-6111] Fixed usage string in documentation.
Usage info in documentation does not match actual usage info.
Doc string usage says ```Usage: network_wordcount.py <zk> <topic>``` whereas the actual usage is ```Usage: kafka_wordcount.py <zk> <topic>```
Author: Kenneth Myers <myerske@us.ibm.com>
Closes #4852 from kennethmyers/kafka_wordcount_documentation_fix and squashes the following commits:
3855325 [Kenneth Myers] Fixed usage string in documentation.
-rw-r--r-- | examples/src/main/python/streaming/kafka_wordcount.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/main/python/streaming/kafka_wordcount.py b/examples/src/main/python/streaming/kafka_wordcount.py index f82f161cb8..51e1ff822f 100644 --- a/examples/src/main/python/streaming/kafka_wordcount.py +++ b/examples/src/main/python/streaming/kafka_wordcount.py @@ -17,7 +17,7 @@ """ Counts words in UTF8 encoded, '\n' delimited text received from the network every second. - Usage: network_wordcount.py <zk> <topic> + Usage: kafka_wordcount.py <zk> <topic> To run this on your local machine, you need to setup Kafka and create a producer first, see http://kafka.apache.org/documentation.html#quickstart |