hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 杨逸帆Steven ...@legato.ninja>
Subject Why return NULL_ASSIGNMENT when one app can not assign to this leaf queue?
Date Mon, 23 Feb 2015 11:37:43 GMT

I am learning Yarn source code, and have this confussion.

In the assignContainers@LeafQueue.java, yarn will iterate all active
applications and try to do the schedule work. however, I notive if one
application's require is over queue limit, the function will return but not

Say I have app#2 needs 500mb, and next app# needs 300mb. The queue now has
only 400mb available left, so when app#2 canAssignToThisQueue fails,
function return and leaves app#3 without schedule. And in this case, app#3
is able to run.

So, what is the reason to Return here?

Thank you.

P.S can I disable reservation? and how to do that?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message