spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [spark] felixcheung commented on issue #25670: [SPARK-28869][CORE] Roll over event log files
Date Wed, 04 Sep 2019 04:07:13 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message