The SparkML notebook deletes only the Dataproc Serverless Template session, not the session itself. Since the Dataproc Interactive session uses subnet, deleting the JSS while the session is active causes an error.
This PR terminates the Dataproc Session at the end of the notebook so that it makes destroying JSS successfully.
The SparkML notebook deletes only the Dataproc Serverless Template session, not the session itself. Since the Dataproc Interactive session uses subnet, deleting the JSS while the session is active causes an error.
This PR terminates the Dataproc Session at the end of the notebook so that it makes destroying JSS successfully.