micheal-o commented on code in PR #53747:
URL: https://github.com/apache/spark/pull/53747#discussion_r2677386642
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDBFileManager.scala:
##########
@@ -372,6 +372,7 @@ class RocksDBFileManager(
val metadata = if (version == 0) {
if (localDir.exists) Utils.deleteRecursively(localDir)
Utils.createDirectory(localDir)
+ createDfsRootDirIfNotExist()
Review Comment:
For newly added partitions after repartition, their checkpoint dir won't
exist when we do `loadEmpty` for version x, which calls this func using version
0. Also ideally, it should have been here, given we are loading v0 here.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]