Apache Spark Deep Learning Cookbook
上QQ阅读APP看书,第一时间看更新

How to do it...

This section walks through the steps to stop the SparkSession.

  1. Execute the following script:

spark.stop()

  1. Confirm that the session has closed by executing the following script:

sc.master