Support Questions
Find answers, ask questions, and share your expertise

H​ow will user limit comes into play for yarn scheduling ? And How ordering policy affects this ?


For example: if queue has 10 slot and userA launch job App1 for 20 slots. So queue will be full. However in the mean time userB comes and ask for 2 slot for ex. App2 from the same queue. Will userA be pre-empted or will App2 will wait for container to be release (Attrition) or App1 will not give until it is completed ?



In ambari under service "YARN" search for "pre". You will find there is a Enabled/Disabled button for that. By default, it will not pre-empt and wait for the job completion.

If you are interested please refer this blog to learn more: