[ 
https://issues.apache.org/jira/browse/SPARK-6434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14371320#comment-14371320
 ] 

Sean Owen commented on SPARK-6434:
----------------------------------

This was already covered by SPARK-6431 right? the problem and cause and 
solution would all be the same.
I am not familiar with this code, but, I think it would be surprising to fail 
if the topic has no messages. (I would not expect this behavior). Anything that 
can work around that seems very desirable.

> [Streaming][Kafka] CreateDirectStream for empty topics
> ------------------------------------------------------
>
>                 Key: SPARK-6434
>                 URL: https://issues.apache.org/jira/browse/SPARK-6434
>             Project: Spark
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 1.3.0
>            Reporter: Cody Koeninger
>            Priority: Minor
>             Fix For: 1.3.1
>
>
> http://apache-spark-developers-list.1001551.n3.nabble.com/Exception-using-the-new-createDirectStream-util-method-td11118.html
> Looks like kafka metadata apis don't return leaders for topics that don't 
> have messages yet.
> Should either try to work around this, or document that topics need messages 
> before starting the stream.



--
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

Reply via email to