You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2019/03/08 23:31:00 UTC
[jira] [Created] (SPARK-27111) A continuous query may fail with
InterruptedException when kafka consumer temporally 0 partitions temporally
Shixiong Zhu created SPARK-27111:
------------------------------------
Summary: A continuous query may fail with InterruptedException when kafka consumer temporally 0 partitions temporally
Key: SPARK-27111
URL: https://issues.apache.org/jira/browse/SPARK-27111
Project: Spark
Issue Type: Bug
Components: Structured Streaming
Affects Versions: 2.3.3, 2.3.2, 2.3.1, 2.3.0
Reporter: Shixiong Zhu
Assignee: Shixiong Zhu
Before a Kafka consumer gets assigned with partitions, its offset will contain 0 partitions. However, runContinuous will still run and launch a Spark job having 0 partitions. In this case, there is a race that epoch may interrupt the query execution thread after `lastExecution.toRdd`, and either `epochEndpoint.askSync[Unit](StopContinuousExecutionWrites)` or the next `runContinuous` will get interrupted unintentionally.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org