An error: requirement failed: Session isn't active

I wrote a KNN model, this model could run normally in Jupyter before. But when I ran this model in a new project, it reported an error: File Save Error for …, as shown in the screenshot below:

It seems that the Spark session has terminated unexpectedly on the working node. Has anyone encountered a similar problem? Any comments will be much appreciated.

Hi Freeman. I haven’t encountered this issue. Could the jupyter server or HopsFS have been stopped or had network access problems? If you are not using github to store notebooks, they are stored on HopsFS. The Jupyter server logs are available on Hopsworks, so if you have this again, please post those logs on here.