cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Sticker Challenge

Join our Community Sticker Challenge

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

JulyFBCVideo

Fabric Monthly Update - July 2024

Check out the July 2024 Fabric update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors