diff options
author | Saisai Shao <saisai.shao@intel.com> | 2015-03-02 08:49:19 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-03-02 08:49:19 +0000 |
commit | d8fb40edea7c8c811814f1ff288d59178928964b (patch) | |
tree | 3e42df34369e1e9429dae4f1c5233fe4a67397bf /examples/scala-2.10/src | |
parent | 3f00bb3ef1384fabf86a68180d40a1a515f6f5e3 (diff) | |
download | spark-d8fb40edea7c8c811814f1ff288d59178928964b.tar.gz spark-d8fb40edea7c8c811814f1ff288d59178928964b.tar.bz2 spark-d8fb40edea7c8c811814f1ff288d59178928964b.zip |
[Streaming][Minor]Fix some error docs in streaming examples
Small changes, please help to review, thanks a lot.
Author: Saisai Shao <saisai.shao@intel.com>
Closes #4837 from jerryshao/doc-fix and squashes the following commits:
545291a [Saisai Shao] Fix some error docs in streaming examples
Diffstat (limited to 'examples/scala-2.10/src')
-rw-r--r-- | examples/scala-2.10/src/main/scala/org/apache/spark/examples/streaming/DirectKafkaWordCount.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/scala-2.10/src/main/scala/org/apache/spark/examples/streaming/DirectKafkaWordCount.scala b/examples/scala-2.10/src/main/scala/org/apache/spark/examples/streaming/DirectKafkaWordCount.scala index deb08fd57b..1c8a20bf8f 100644 --- a/examples/scala-2.10/src/main/scala/org/apache/spark/examples/streaming/DirectKafkaWordCount.scala +++ b/examples/scala-2.10/src/main/scala/org/apache/spark/examples/streaming/DirectKafkaWordCount.scala @@ -30,7 +30,8 @@ import org.apache.spark.SparkConf * <topics> is a list of one or more kafka topics to consume from * * Example: - * $ bin/run-example streaming.KafkaWordCount broker1-host:port,broker2-host:port topic1,topic2 + * $ bin/run-example streaming.DirectKafkaWordCount broker1-host:port,broker2-host:port \ + * topic1,topic2 */ object DirectKafkaWordCount { def main(args: Array[String]) { |