Forum Discussion

smpa01's avatar
smpa01
Community Champion
2 years ago
Solved

Stopping Spark Session inside/outside ForEach

Usually, spark.stop() is recommended as a best practice to releasing resources like memory, CPU, and network connections back to the cluster and for other reasons. I usually do that for all my notebo...