hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandy Ryza <sandy.r...@cloudera.com>
Subject Re: question about fair scheduler
Date Fri, 23 Aug 2013 09:14:36 GMT
That's right that the other 2 apps will end up getting 10 resources each,
but as more resources become released, eventually the cluster will converge
to a fair state.  I.e. if the first app requested additional resources
after releasing resources, it would not receive any more until either
another app either grew to more resources than it, or no other app needed

Does that make sense?


On Thu, Aug 22, 2013 at 6:36 PM, ch huang <justlooks@gmail.com> wrote:

> hi,i have a question about fair scheduler
> doc says "When there is a single app running, that app uses the entire
> cluster. When other apps are submitted, resources that free up are assigned
> to the new apps, so that each app gets roughly the same amount of
> resources",
> suppose i have only a big app running ,so it get 100 resource ,as it
> running ,it release 20 resource ,that time 2 short app come to run,so each
> get
> 10 resource ,what i think is  "fair is for current available
> resources ,not the whole resources" ,is it right?

View raw message