[jira] [Commented] (SPARK-22606) There may be two or more tasks in one executor will use the same kafka consumer at the same time, then it will throw an exception: "KafkaConsumer is not safe for multi
[ https://issues.apache.org/jira/browse/SPARK-22606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16718599#comment-16718599 ] Gabor Somogyi commented on SPARK-22606: --- This should be resolved in SPARK-19185, closing. > There may be two or more tasks in one executor will use the same kafka > consumer at the same time, then it will throw an exception: "KafkaConsumer is > not safe for multi-threaded access" > - > > Key: SPARK-22606 > URL: https://issues.apache.org/jira/browse/SPARK-22606 > Project: Spark > Issue Type: Bug > Components: DStreams >Affects Versions: 2.2.0 >Reporter: eaton >Priority: Minor > > If the value of param 'spark.streaming.concurrentJobs' is more than one, and > the value of param 'spark.executor.cores' is more than one, there may be two > or more tasks in one executor will use the same kafka consumer at the same > time, then it will throw an exception: "KafkaConsumer is not safe for > multi-threaded access" -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-22606) There may be two or more tasks in one executor will use the same kafka consumer at the same time, then it will throw an exception: "KafkaConsumer is not safe for multi
[ https://issues.apache.org/jira/browse/SPARK-22606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265638#comment-16265638 ] Apache Spark commented on SPARK-22606: -- User 'eatoncys' has created a pull request for this issue: https://github.com/apache/spark/pull/19819 > There may be two or more tasks in one executor will use the same kafka > consumer at the same time, then it will throw an exception: "KafkaConsumer is > not safe for multi-threaded access" > - > > Key: SPARK-22606 > URL: https://issues.apache.org/jira/browse/SPARK-22606 > Project: Spark > Issue Type: Bug > Components: Structured Streaming >Affects Versions: 2.2.0 >Reporter: eaton >Priority: Minor > > If the value of param 'spark.streaming.concurrentJobs' is more than one, and > the value of param 'spark.executor.cores' is more than one, there may be two > or more tasks in one executor will use the same kafka consumer at the same > time, then it will throw an exception: "KafkaConsumer is not safe for > multi-threaded access" -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org