The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
I am executing a long running Spark appliation from a notebook. In SparkUI I see that not all possible resources are used, so I would like to repartition the data to the maximum available cores. However, I don't know how to programmatically obtain the maximum available number of executors.
Please advise.
Solved! Go to Solution.
HI @sparkie,
For use rest api to getting spark settings, you can refer to the following document:
Workspace Settings - Get Spark Settings - REST API (Spark) | Microsoft Learn
If the above not suitable for your requirement, you can also check the spark computer and pool setting at the 'Workspace settings':
Create custom Apache Spark pools in Fabric - Microsoft Fabric | Microsoft Learn
Regards,
Xiaoxin Sheng
HI @sparkie,
For use rest api to getting spark settings, you can refer to the following document:
Workspace Settings - Get Spark Settings - REST API (Spark) | Microsoft Learn
If the above not suitable for your requirement, you can also check the spark computer and pool setting at the 'Workspace settings':
Create custom Apache Spark pools in Fabric - Microsoft Fabric | Microsoft Learn
Regards,
Xiaoxin Sheng
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the July 2024 Fabric update to learn about new features.