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:37 +0000 |
commit | b2b7f011e3e17ac6263b5cac926a48fe89d4638a (patch) | |
tree | adc9fa44d68a479c6d0398d924a7eadfb2a92bf0 /examples | |
parent | a3fef2c02f93b48c15feec21515567d6fded19f1 (diff) | |
download | spark-b2b7f011e3e17ac6263b5cac926a48fe89d4638a.tar.gz spark-b2b7f011e3e17ac6263b5cac926a48fe89d4638a.tar.bz2 spark-b2b7f011e3e17ac6263b5cac926a48fe89d4638a.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.
(cherry picked from commit 95ac68bf127b5370c13d6bc15adbda78228829cc)
Signed-off-by: Sean Owen <sowen@cloudera.com>
Diffstat (limited to 'examples')
-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 |