Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowFabric Data Days Monthly is back. Join us on March 26th for two expert-led sessions on 1) Getting Started with Fabric IQ and 2) Mapping & Spacial Analytics in Fabric. Register now
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
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Fabric update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 11 | |
| 10 | |
| 7 | |
| 7 |
| User | Count |
|---|---|
| 48 | |
| 41 | |
| 25 | |
| 15 | |
| 14 |