Michael Armbrust created SPARK-18529:
----------------------------------------

             Summary: Timeouts shouldn't be AssertionErrors
                 Key: SPARK-18529
                 URL: https://issues.apache.org/jira/browse/SPARK-18529
             Project: Spark
          Issue Type: Bug
          Components: Structured Streaming
            Reporter: Michael Armbrust


A timeout should inherit from {{RuntimeException}} as its not a fatal error.
{code}
java.lang.AssertionError: assertion failed: Failed to get records for 
spark-kafka-source-26d6f51c-0781-45a4-ab8e-bc6bd6603917-86874470-executor 
service-log-0 49350201 after polling for 1000
        at scala.Predef$.assert(Predef.scala:170)
        at 
org.apache.spark.sql.kafka010.CachedKafkaConsumer.get(CachedKafkaConsumer.scala:65)
        at 
org.apache.spark.sql.kafka010.KafkaSourceRDD$$anon$1.next(KafkaSourceRDD.scala:146)
        at 
org.apache.spark.sql.kafka010.KafkaSourceRDD$$anon$1.next(KafkaSourceRDD.scala:142)
{code}



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