[ 
https://issues.apache.org/jira/browse/YARN-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14969857#comment-14969857
 ] 

Hudson commented on YARN-4256:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #8691 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/8691/])
YARN-4256. YARN fair scheduler vcores with decimal values. Contributed (zxu: 
rev 960201b79b9f2ca40f8eadb21a2f9fe37dde2b5d)
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairSchedulerConfiguration.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFairSchedulerConfiguration.java


> YARN fair scheduler vcores with decimal values
> ----------------------------------------------
>
>                 Key: YARN-4256
>                 URL: https://issues.apache.org/jira/browse/YARN-4256
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>    Affects Versions: 2.7.1
>            Reporter: Prabhu Joseph
>            Assignee: Jun Gong
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: YARN-4256.001.patch, YARN-4256.002.patch
>
>
> When the queue with vcores is in decimal value, the value after the decimal 
> point is taken as vcores by FairScheduler.
> For the below queue,
>         <minResources>20000 mb,20 vcores,20.25 disks</minResources>
>         <maxResources>30000 mb,40.2 vcores,30.25 disks</maxResources>
> When many applications submitted  parallely into queue, all were in PENDING 
> state as the vcores is taken as 2 skipping the value 40.
> The code FairSchedulerConfiguration.java to Pattern match the vcores has to 
> be improved in such a way either throw 
> AllocationConfigurationException("Missing resource") or consider the value 
> before decimal.



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

Reply via email to