Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

133
Views
distributing tasks evenly across executors

Trying to read in csv files (spark.read.csv("s3://...)) stored in S3 using EMR. There are approximately 100 files in the S3 bucket, and ~300 instances in the EMR cluster each with two executors (7 cores each). I can see in the spark UI that nearly all tasks are allocated to just 10 executors, each with 10 tasks, rather than each task being assigned to different executors to take advantage of processing each file in parallel.

Is there a knob to force the tasks to distribute across all executors?

spark.dynamicAllocation.enabled is set to false, spark.executor.instances is set to the number of executors in the cluster.

enter image description here

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!