<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to run Kafka in spark in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-run-Kafka-in-spark/m-p/100975#M63969</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2833/hodamoradi2014.html" nodeid="2833"&gt;@hoda moradi&lt;/A&gt;  &lt;A href="http://www.michael-noll.com/blog/2014/10/01/kafka-spark-streaming-integration-example-tutorial/"&gt;http://www.michael-noll.com/blog/2014/10/01/kafka-spark-streaming-integration-example-tutorial/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;See if this helps&lt;/P&gt;</description>
    <pubDate>Wed, 17 Feb 2016 02:36:56 GMT</pubDate>
    <dc:creator>nsabharwal</dc:creator>
    <dc:date>2016-02-17T02:36:56Z</dc:date>
    <item>
      <title>How to run Kafka in spark</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-run-Kafka-in-spark/m-p/100972#M63966</link>
      <description>&lt;P&gt;
I am trying this command&lt;/P&gt;&lt;P&gt;spark-submit --master local[4] --class com.oreilly.learningsparkexamples.scala.KafkaInput $ASSEMBLY_JAR localhost:2181 spark-readers pandas 1 &lt;/P&gt;&lt;P&gt;but i get the following error&lt;/P&gt;&lt;P&gt;Exception in thread "Thread-73" org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 0.0 failed 1 times, most recent failure: Lost task 0.0 in stage 0.0 (TID 0, localhost): java.lang.IllegalArgumentException: Missing required property 'groupid'&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2015 23:14:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-run-Kafka-in-spark/m-p/100972#M63966</guid>
      <dc:creator>lakumivnarayana</dc:creator>
      <dc:date>2015-12-29T23:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Kafka in spark</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-run-Kafka-in-spark/m-p/100973#M63967</link>
      <description>&lt;P&gt;This sounds like it may be a build problem. &lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/simonellistonball/spark-samples/tree/master/streaming"&gt;https://github.com/simonellistonball/spark-samples...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;has a working sample with sbt scripts to build against the Hortonworks repository, which has been testing on HDP 2.3.2. &lt;/P&gt;&lt;P&gt;Note that the Kafka consumer API has changed a bit recently, so it's important to be aware of versions in Kafka.&lt;/P&gt;&lt;P&gt;Also, I note that you're running in local model, we would recommend that you only use local mode for testing, and that you use --master yarn-client for running on a proper cluster. &lt;/P&gt;</description>
      <pubDate>Sat, 02 Jan 2016 20:51:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-run-Kafka-in-spark/m-p/100973#M63967</guid>
      <dc:creator>sball</dc:creator>
      <dc:date>2016-01-02T20:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Kafka in spark</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-run-Kafka-in-spark/m-p/100974#M63968</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/104/sball.html" nodeid="104"&gt;@Simon Elliston Ball&lt;/A&gt; do you have a sample code for java? &lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 02:33:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-run-Kafka-in-spark/m-p/100974#M63968</guid>
      <dc:creator>hoda_moradi2014</dc:creator>
      <dc:date>2016-02-17T02:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Kafka in spark</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-run-Kafka-in-spark/m-p/100975#M63969</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2833/hodamoradi2014.html" nodeid="2833"&gt;@hoda moradi&lt;/A&gt;  &lt;A href="http://www.michael-noll.com/blog/2014/10/01/kafka-spark-streaming-integration-example-tutorial/"&gt;http://www.michael-noll.com/blog/2014/10/01/kafka-spark-streaming-integration-example-tutorial/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;See if this helps&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 02:36:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-run-Kafka-in-spark/m-p/100975#M63969</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-17T02:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Kafka in spark</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-run-Kafka-in-spark/m-p/100976#M63970</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;thanks that is a great tutorial but, that example is in scala as well.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 03:02:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-run-Kafka-in-spark/m-p/100976#M63970</guid>
      <dc:creator>hoda_moradi2014</dc:creator>
      <dc:date>2016-02-17T03:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Kafka in spark</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-run-Kafka-in-spark/m-p/100977#M63971</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2833/hodamoradi2014.html" nodeid="2833"&gt;@hoda moradi&lt;/A&gt;   &lt;A href="http://spark.apache.org/docs/latest/streaming-kafka-integration.html"&gt;http://spark.apache.org/docs/latest/streaming-kafka-integration.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It has java code &lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 03:45:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-run-Kafka-in-spark/m-p/100977#M63971</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-17T03:45:51Z</dc:date>
    </item>
  </channel>
</rss>

