zhengruifeng opened a new pull request #27189: [SPARK-30502][ML][CORE][GRAPHX] 
PeriodicRDDCheckpointer & PeriodicGraphCheckpointer support storageLevel
URL: https://github.com/apache/spark/pull/27189
 
 
   ### What changes were proposed in this pull request?
   1, add field `storageLevel` in `PeriodicRDDCheckpointer` & 
`PeriodicGraphCheckpointer`
   2, for ml.GBT/ml.RF/ml.LDA set storageLevel=`StorageLevel.MEMORY_AND_DISK`
   
   
   ### Why are the changes needed?
   <!--
   Please clarify why the changes are needed. For instance,
     1. If you propose a new API, clarify the use case for a new API.
     2. If you fix a bug, you can clarify why it is a bug.
   -->
   
   
   ### Does this PR introduce any user-facing change?
   Intermediate RDDs in ML are cached with 
storageLevel=StorageLevel.MEMORY_AND_DISK.
   PeriodicRDDCheckpointer & PeriodicGraphCheckpointer now store RDD with 
storageLevel=StorageLevel.MEMORY_ONLY, it maybe nice to set the storageLevel of 
checkpointer.
   
   
   ### How was this patch tested?
   existing testsuites
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to