Forum Discussion

YCastano's avatar
YCastano
Frequent Visitor
2 years ago
Solved

SparkSession don't stop

Hello! I can't stop the session of a notebook, it's been in progress for days and no matter how many times I stop it, it stays thinking and doesn't finish. Subsequent executions run and close fine, ...
  • v-cboorla-msft's avatar
    2 years ago

    Hi YCastano 

     

    Thanks for using Microsoft Fabric Community.

     

    If you have spark as a SparkSession object then call spark.stop() to stop the session. This ensures that resources are properly released and the Spark application terminates gracefully.

     

    There might be a chance of an intermittent issue could you please follow the below steps that might help you.

    Temporary Glitch: Clearing cookies and caches can sometimes resolve temporary glitches within the application that might be causing the issue.

    Corrupted Data: In rare cases, corrupted data stored in the browser's cache related to Microsoft Fabric might be causing the issue. Clearing the cache removes this potentially problematic data.

    Hard Refresh: A hard refresh bypasses the cached version of the webpage and forces the browser to download the latest version from the server. Press Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac).

    Try Microsoft Edge: If you are currently using Chrome or Firefox, try switching to Microsoft Edge to see if the issue persists. Edge is the native browser for Microsoft products and might have better compatibility with Microsoft Fabric.

     

    If the issue still persists, please do let us know. Glad to help.

     

    I hope this information helps. 

     

    Thank you.