You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "micheal-o (via GitHub)" <gi...@apache.org> on 2025/05/02 05:26:41 UTC

Re: [PR] [SPARK-51291] [SS] Reclassify validation errors thrown from state store loading [spark]

micheal-o commented on code in PR #50045:
URL: https://github.com/apache/spark/pull/50045#discussion_r2071113491


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/HDFSBackedStateStoreProvider.scala:
##########
@@ -426,7 +423,7 @@ private[sql] class HDFSBackedStateStoreProvider extends StateStoreProvider with
   private lazy val loadedMaps = new util.TreeMap[Long, HDFSBackedStateStoreMap](
     Ordering[Long].reverse)
   private lazy val baseDir = stateStoreId.storeCheckpointLocation()
-  private lazy val fm = CheckpointFileManager.create(baseDir, hadoopConf)
+  private[spark] lazy val fm = CheckpointFileManager.create(baseDir, hadoopConf)

Review Comment:
   @liviazhu-db ok, but why at spark level instead of streaming level?



-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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