Description
Run "bin/spark-shell --conf spark.ui.retainedJobs=10 --conf spark.ui.retainedStages=10", type the following codes and click the "stages" page, it will not show completed stages:
val rdd = sc.parallelize(0 to 100, 100).repartition(10).cache() (1 to 20).foreach { i => rdd.repartition(10).count() }
Please see the attached screenshots.