[ https://issues.apache.org/jira/browse/SPARK-6594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14386380#comment-14386380 ]
q79969786 edited comment on SPARK-6594 at 3/30/15 8:25 AM: ----------------------------------------------------------- thanks, it worked after restart kafka was (Author: q79969786): thanks, it worked after reboot kafka > Spark Streaming can't receive data from kafka > --------------------------------------------- > > Key: SPARK-6594 > URL: https://issues.apache.org/jira/browse/SPARK-6594 > Project: Spark > Issue Type: Bug > Affects Versions: 1.2.1 > Environment: kafka_2.10-0.8.1.1 + Spark-1.2.1 > Reporter: q79969786 > > I use KafkaUtils to receive data from Kafka In my Spark streaming application > as follows: > Map<String, Integer> topicorder = new HashMap<String, Integer>(); > topicorder.put("order", Integer.valueOf(readThread)); > JavaPairReceiverInputDStream<String, String> jPRIDSOrder = > KafkaUtils.createStream(jssc, zkQuorum, group, topicorder); > It worked well at fist, but after I submit this application several times, > Spark streaming can‘t receive data anymore(Kafka works well). -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org