hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-343) Capacity Scheduler maximum-capacity value -1 is invalid
Date Wed, 03 Sep 2014 23:28:52 GMT

     [ https://issues.apache.org/jira/browse/YARN-343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Allen Wittenauer updated YARN-343:
----------------------------------
    Fix Version/s:     (was: 3.0.0)

> Capacity Scheduler maximum-capacity value -1 is invalid
> -------------------------------------------------------
>
>                 Key: YARN-343
>                 URL: https://issues.apache.org/jira/browse/YARN-343
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacityscheduler
>    Affects Versions: 0.23.6
>            Reporter: Thomas Graves
>            Assignee: Xuan Gong
>             Fix For: 2.0.3-alpha, 0.23.7
>
>         Attachments: YARN-343.1.patch, YARN-343.3.patch, Yarn-343.2.patch
>
>
> I tried to start the resource manager using the capacity scheduler with a particular
queues maximum-capacity set to -1 which is supposed to disable it according to the docs but
I got the following exception:
> java.lang.IllegalArgumentException: Illegal value  of maximumCapacity -0.01 used in call
to setMaxCapacity for queue foo
>     at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CSQueueUtils.checkMaxCapacity(CSQueueUtils.java:31)
>     at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue.setupQueueConfigs(LeafQueue.java:220)
>     at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue.<init>(LeafQueue.java:191)
>     at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.parseQueue(CapacityScheduler.java:310)
>     at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.parseQueue(CapacityScheduler.java:325)
>     at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.initializeQueues(CapacityScheduler.java:232)
>     at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.reinitialize(CapacityScheduler.java:202)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message