Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

YARN jobs always running in default pool

avatar
Explorer

Hello.

 

We are having a problem where all the jobs we run on YARN are ending on a pool called default that we didn't create it. This happens for hive, spark, etc.

 

Our Dynamic Resource Pool Configuration is:

  1. root
    1. root.myuser

 

And our placement rules only has one entry:

  1. root.<username> pool; create the pool if it doesn't exist

 

We don't understand how can the jobs end in the default pool.

 

Relevant configs:

yarn.scheduler.fair.user-as-default-queue   [x] ResourceManager Default Group

yarn.scheduler.fair.allow-undeclared-pools [x] YARN (MR2 Included) (Service-Wide)

 

 

 

1 ACCEPTED SOLUTION

avatar
Explorer

Fixed.

 

Corrected by changing the YARN configuration:

yarn.resourcemanager.scheduler.class from FifoScheduler to FairScheduler

 

 

View solution in original post

1 REPLY 1

avatar
Explorer

Fixed.

 

Corrected by changing the YARN configuration:

yarn.resourcemanager.scheduler.class from FifoScheduler to FairScheduler