Github user tedyu commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21700#discussion_r200248889
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/HDFSBackedStateStoreProvider.scala
 ---
    @@ -240,7 +244,11 @@ private[state] class HDFSBackedStateStoreProvider 
extends StateStoreProvider wit
       @volatile private var storeConf: StateStoreConf = _
       @volatile private var hadoopConf: Configuration = _
     
    -  private lazy val loadedMaps = new mutable.HashMap[Long, MapType]
    +  // taking default value first: this will be updated by init method with 
configuration
    +  @volatile private var numberOfVersionsRetainInMemory: Int = 2
    --- End diff --
    
    numberOfVersionsRetainInMemory -> numberOfVersionsToRetainInMemory


---

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

Reply via email to