Re: Fairscheduler - disable "default" pool

2012-03-13 Thread Merto Mertek
Hm,
I would like to achieve that if I call poolManager.getPools() I get just
pools that I defined in my allocation file.. Harsh I tried your option too
but it still shows on the servlet page which means it is present and still
persist in poolManager..

Meanwhile I have found that probably I will have to change some code in
PoolManager (comment line 144 which is supposed to create the default
pool). Thanks both of you for your effort..

On 13 March 2012 21:42, Harsh J  wrote:

> Merto,
>
> Are you looking to disable all undefined pools completely, preventing
> submissions to it?
> For that, "mapred.fairscheduler.allow.undeclared.pools" needs to be
> set to false.
>
> On Wed, Mar 14, 2012 at 1:36 AM, Merto Mertek  wrote:
> > Thanks for your workaround, but I think that with this you just put a
> > constraint on the pool that it will not accept any job. I am doing some
> > calculation with weights and do not want the default pool weight to be
> > included in the computation..
> >
> >
> > On 13 March 2012 18:52, Jean-Daniel Cryans  wrote:
> >
> >> We do it here by setting this:
> >>
> >> 0
> >>
> >> So that you _must_ have a pool (that's configured with a different
> >> maxRunningJobs) in order to run jobs.
> >>
> >> Hope this helps,
> >>
> >> J-D
> >>
> >> On Tue, Mar 13, 2012 at 10:49 AM, Merto Mertek 
> >> wrote:
> >> > I know that by design all unmarked jobs goes to that pool, however I
> am
> >> > doing some testing and I am interested if is possible to disable it..
> >> >
> >> > Thanks
> >>
>
>
>
> --
> Harsh J
>


Re: Fairscheduler - disable "default" pool

2012-03-13 Thread Harsh J
Merto,

Are you looking to disable all undefined pools completely, preventing
submissions to it?
For that, "mapred.fairscheduler.allow.undeclared.pools" needs to be
set to false.

On Wed, Mar 14, 2012 at 1:36 AM, Merto Mertek  wrote:
> Thanks for your workaround, but I think that with this you just put a
> constraint on the pool that it will not accept any job. I am doing some
> calculation with weights and do not want the default pool weight to be
> included in the computation..
>
>
> On 13 March 2012 18:52, Jean-Daniel Cryans  wrote:
>
>> We do it here by setting this:
>>
>> 0
>>
>> So that you _must_ have a pool (that's configured with a different
>> maxRunningJobs) in order to run jobs.
>>
>> Hope this helps,
>>
>> J-D
>>
>> On Tue, Mar 13, 2012 at 10:49 AM, Merto Mertek 
>> wrote:
>> > I know that by design all unmarked jobs goes to that pool, however I am
>> > doing some testing and I am interested if is possible to disable it..
>> >
>> > Thanks
>>



-- 
Harsh J


Re: Fairscheduler - disable "default" pool

2012-03-13 Thread Merto Mertek
Thanks for your workaround, but I think that with this you just put a
constraint on the pool that it will not accept any job. I am doing some
calculation with weights and do not want the default pool weight to be
included in the computation..


On 13 March 2012 18:52, Jean-Daniel Cryans  wrote:

> We do it here by setting this:
>
> 0
>
> So that you _must_ have a pool (that's configured with a different
> maxRunningJobs) in order to run jobs.
>
> Hope this helps,
>
> J-D
>
> On Tue, Mar 13, 2012 at 10:49 AM, Merto Mertek 
> wrote:
> > I know that by design all unmarked jobs goes to that pool, however I am
> > doing some testing and I am interested if is possible to disable it..
> >
> > Thanks
>


Re: Fairscheduler - disable "default" pool

2012-03-13 Thread Jean-Daniel Cryans
We do it here by setting this:

0

So that you _must_ have a pool (that's configured with a different
maxRunningJobs) in order to run jobs.

Hope this helps,

J-D

On Tue, Mar 13, 2012 at 10:49 AM, Merto Mertek  wrote:
> I know that by design all unmarked jobs goes to that pool, however I am
> doing some testing and I am interested if is possible to disable it..
>
> Thanks


Fairscheduler - disable "default" pool

2012-03-13 Thread Merto Mertek
I know that by design all unmarked jobs goes to that pool, however I am
doing some testing and I am interested if is possible to disable it..

Thanks