shahidki31 opened a new pull request #24531: [SPARK-27636][MLLIB]Remove cached RDD blocks after PIC execution URL: https://github.com/apache/spark/pull/24531 ## What changes were proposed in this pull request? Test steps to reproduce: 1) bin/spark-shell ``` val dataset = spark.createDataFrame(Seq( (0L, 1L, 1.0), (1L,2L,1.0), (3L, 4L,1.0), (4L,0L,0.1))).toDF("src", "dst", "weight") val model = new PowerIterationClustering(). setMaxIter(10). setInitMode("degree"). setWeightCol("weight") val prediction = model.assignClusters(dataset).select("id", "cluster") ``` 2) Open storage tab of the UI. We can see many RDD block cached, even after running the PIC. ## How was this patch tested? Manually tested and existing UTs. Before patch:  After patch: 
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
