[ https://issues.apache.org/jira/browse/SPARK-32574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-32574: ------------------------------------ Assignee: Apache Spark > Race condition in FsHistoryProvider listing iteration > ----------------------------------------------------- > > Key: SPARK-32574 > URL: https://issues.apache.org/jira/browse/SPARK-32574 > Project: Spark > Issue Type: Bug > Components: Spark Core > Affects Versions: 3.0.0 > Reporter: Yan Xiaole > Assignee: Apache Spark > Priority: Major > > It seems to be a race condition in FSHistoryProvider that iterate the listing > with high concurrency: > {code:java} > val stale = listing.view(classOf[LogInfo]) > .index("lastProcessed") > .last(newLastScanTime - 1) > .asScala > .toList{code} > `toList` will iterate items in the listing, if one of listing entries was > deleted by some clean thread, checkForLogs will throw out a > `java.util.NoSuchElementException` and abort current execution. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org