Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

how to remove yarn application queue?

how to remove yarn application queue?

Contributor

Hello,

 

With FairScheduler, I could configure queues by updating fair-scheduler.xml.

 

I could add new queues or update resources for specific queues by updating fair-scheduler.xml without restarting resource manager.

However, althouth queues are removed from fair-scheduler.xml, I could still see the removed queues in RM UI.

 

Is there anybody knowing how to remove queues?

 

 

7 REPLIES 7

Re: how to remove yarn application queue?

Super Collaborator

That is a known issue: YARN-4022

The queue is removed just not from the display.

 

Wilfred

Re: how to remove yarn application queue?

Contributor

Thank you

Re: how to remove yarn application queue?

New Contributor

Was it still the issue?

 

Can anyone confirm the on deleteing the queue. im facing the same issue

 

Thanks,

Mira

Re: how to remove yarn application queue?

Super Collaborator

We have added a new feature that will automatically remove unused dynamic queues from the RM and also make sure all the static configured queues (via the xml file) are up to date. This is triggered on each load of the scheduler config. See YARN-8191 for all the details.

 

This will come in CDH in a future release.

 

Wilfred

Re: how to remove yarn application queue?

New Contributor
Can you help me what is that xml file and how to implement in my current CDH. Im using CDH 5.11.2.

Re: how to remove yarn application queue?

Super Collaborator

Deleting from the UI etc requires code changes. As you can see in YARN-8191 the change hook in deep in the update code. We are not backporting this into C5. You will have to wait until we get a future release out with it included.

 

The scheduler xml file is the standard configuration file. If you use CM to manage your queues CM generates it for you. Just updating the xml is not enough for this feature.

 

Wilfred

Re: how to remove yarn application queue?

New Contributor
Thank you for the quick response. :)

Regards,
Mira