The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have this at the end of a notebook (And I am in F2 Capacity
Solved! Go to Solution.
@Anonymous Thanks for sharing,
I guess the best option is to have one "master" notebook orchestrate the running of the other notebooks, as you mention (I have never tried it myself).
However I think the most updated link for use in Fabric Notebook is this one: https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-utilities
More specifically: https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-utilities#reference-a-notebook
This is for the Fabric Notebookutils.
The link you provided is for Azure Synapse Analytics. Or am I missing something?
I do however believe I have experienced that a function which was listed in Azure Synapse Analytics mssparkutils, but not listed in Fabric Notebookutils, still worked in Fabric Notebook.
But according to the docs, I think Fabric Notebookutils (ref. the links in this comment) should be the most updated one for use inside Fabric?
Hi @DebbieE,
In fact, you not need to run these processing one by one. You can invoke other notebook codesnip or directly invoke/reference other notebooks by NotebookUtils functions:
NotebookUtils (former MSSparkUtils) for Fabric - Microsoft Fabric | Microsoft Learn
If you want stop all the cost of fabric capacity resource usage, it should be more suitable to 'pause' on the capacity itself at azure side.
Pause and resume your capacity - Microsoft Fabric | Microsoft Learn
Update: thanks for frithjof_v 's reminder, I update and modify the reference link to notebookutils.
Regards,
Xiaoxin Sheng
@Anonymous Thanks for sharing,
I guess the best option is to have one "master" notebook orchestrate the running of the other notebooks, as you mention (I have never tried it myself).
However I think the most updated link for use in Fabric Notebook is this one: https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-utilities
More specifically: https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-utilities#reference-a-notebook
This is for the Fabric Notebookutils.
The link you provided is for Azure Synapse Analytics. Or am I missing something?
I do however believe I have experienced that a function which was listed in Azure Synapse Analytics mssparkutils, but not listed in Fabric Notebookutils, still worked in Fabric Notebook.
But according to the docs, I think Fabric Notebookutils (ref. the links in this comment) should be the most updated one for use inside Fabric?
I have 4 notebooks which I want to run in a sequence.
So I join them together and run, It just sticks on the first Notebook and doesnt move to the next notebook
I have
Thanks for sharing!
I'm curious why you are using spark.stop()?
I'm curious if it is necessary to use it or not.
I didn't think it was necessary in Fabric. Did you find any information about it?
It seemed to run quickly this time. Maybe it was just a blip. And I have changed the connections to success ones
Are you running the notebook manually, or inside a data pipeline? If you are running them inside a data pipeline, perhaps you can add a wait activity between them. Perhaps wait 1 or 2 minutes.
spark.stop() - is it needed? : r/MicrosoftFabric (reddit.com)
Are you using Notebook A to trigger Notebook B? Then I think they can share the compute resources. See links below:
Microsoft Spark Utilities (MSSparkUtils) for Fabric - Microsoft Fabric | Microsoft Learn
Using runMultiple To Orchastrate Notebook Execution in Microsoft Fabric
You could also try out the mssparkutils.session.stop() instead of spark.stop()
I haven't tried it myself.