March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Register NowGet certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
I'm manually executing a notebook in MS Fabric, but in the execution history, it shows as "interrupted" instead of "successful" once it finishes. I want the status to appear as "successful" after a complete manual run.
How can I ensure the final status is marked as "successful"? Is it possible?
Solved! Go to Solution.
Hi, the execution history shows interrupted because the spark session does not stop automatically after you've run the code manually. The session will be alive until you manually kill it or there is no activity for a period of time. I did not test this, but you may get a successful message if you end the spark session at the end of all your code with:
mssparkutils.session.stop()
HI @marcoabgm,
As FabianSchut said, the current statue means the notebook session still running. If you want to it change this, you can manually stop the session or waiting for the session timeout.
Use the Monitoring hub to manage Apache Spark applications - Microsoft Fabric | Microsoft Learn
Regards,
Xiaoxin Sheng
Hi, the execution history shows interrupted because the spark session does not stop automatically after you've run the code manually. The session will be alive until you manually kill it or there is no activity for a period of time. I did not test this, but you may get a successful message if you end the spark session at the end of all your code with:
mssparkutils.session.stop()
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Check out the October 2024 Fabric update to learn about new features.
User | Count |
---|---|
13 | |
8 | |
5 | |
4 | |
2 |
User | Count |
---|---|
26 | |
23 | |
15 | |
12 | |
5 |