Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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