title: Failed on running an example of Kafka & Spark Streaming named KafkaWordCount
body: <p>I worked on the example named KafkaWordCount as found on <a href="http://rishiverma.com/software/blog/2014/07/31/spark-streaming-and-kafka-quickstart/" rel="nofollow">http://rishiverma.com/software/blog/2014/07/31/spark-streaming-and-kafka-quickstart/</a></p>
  
  <p>BTW, I modified some details which doesn't matter. And when I went to the last step to build a Kafka consumer, it failed and said:</p>
  
  <pre><code>Exception in thread "main" org.apache.spark.SparkException: Could not parse Master URL: 'localhost:2181'
  at org.apache.spark.SparkContext$.org$apache$spark$SparkContext$$createTaskScheduler(SparkContext.scala:1493)
  at org.apache.spark.SparkContext.&lt;init&gt;(SparkContext.scala:279)
  at org.apache.spark.streaming.StreamingContext$.createNewSparkContext(StreamingContext.scala:542)
  at org.apache.spark.streaming.StreamingContext$.createNewSparkContext(StreamingContext.scala:555)
  at org.apache.spark.streaming.StreamingContext.&lt;init&gt;(StreamingContext.scala:92)
  at org.apache.spark.streaming.examples.KafkaWordCount$.main(KafkaWordCount.scala:54)
  at org.apache.spark.streaming.examples.KafkaWordCount.main(KafkaWordCount.scala)
  </code></pre>
  
  <p>Did anyone meet this failure? </p>