felixcheung commented on issue #25670: [SPARK-28869][CORE] Roll over event log 
files
URL: https://github.com/apache/spark/pull/25670#issuecomment-527730845
 
 
   > > java.util.ConcurrentModificationException
   > 
   > This is also occurring with current master branch. You can reproduce it 
with below query in spark-shell, with continuously pushing records to topic1 
and topic2.
   > 
   > ```
   > val bootstrapServers = "localhost:9092"
   > val checkpointLocation = "/tmp/SPARK-28869-testing"
   > val sourceTopics = "topic1"
   > val sourceTopics2 = "topic2"
   > val targetTopic = "topic3"
   > 
   > val df = 
spark.readStream.format("kafka").option("kafka.bootstrap.servers", 
bootstrapServers).option("subscribe", sourceTopics).option("startingOffsets", 
"earliest").load()
   > 
   > val df2 = 
spark.readStream.format("kafka").option("kafka.bootstrap.servers", 
bootstrapServers).option("subscribe", sourceTopics2).option("startingOffsets", 
"earliest").load()
   > 
   > 
df.union(df2).writeStream.format("kafka").option("kafka.bootstrap.servers", 
bootstrapServers).option("checkpointLocation", 
checkpointLocation).option("topic", targetTopic).start()
   > ```
   
   is there a separate jira on this?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to