Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
sparkie
Microsoft Employee
Microsoft Employee

Scaling out spark applicaton

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.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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

View solution in original post

1 REPLY 1
Anonymous
Not applicable

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

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.