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

    https://github.com/apache/spark/pull/20956#discussion_r178517357
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/tree/impl/NodeIdCache.scala ---
    @@ -95,7 +95,7 @@ private[spark] class NodeIdCache(
           splits: Array[Array[Split]]): Unit = {
         if (prevNodeIdsForInstances != null) {
           // Unpersist the previous one if one exists.
    -      prevNodeIdsForInstances.unpersist()
    +      prevNodeIdsForInstances.unpersist(false)
    --- End diff --
    
    Is this change required? Should not the call to `unpersist` remain blocking?


---

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

Reply via email to