[ https://issues.apache.org/jira/browse/YARN-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14974516#comment-14974516 ]
Hadoop QA commented on YARN-4263: --------------------------------- \\ \\ | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | pre-patch | 17m 3s | Pre-patch trunk compilation is healthy. | | {color:green}+1{color} | @author | 0m 0s | The patch does not contain any @author tags. | | {color:green}+1{color} | tests included | 0m 0s | The patch appears to include 1 new or modified test files. | | {color:green}+1{color} | javac | 7m 52s | There were no new javac warning messages. | | {color:green}+1{color} | javadoc | 10m 29s | There were no new javadoc warning messages. | | {color:green}+1{color} | release audit | 0m 24s | The applied patch does not increase the total number of release audit warnings. | | {color:red}-1{color} | checkstyle | 0m 37s | The applied patch generated 1 new checkstyle issues (total was 33, now 31). | | {color:green}+1{color} | whitespace | 0m 0s | The patch has no lines that end in whitespace. | | {color:green}+1{color} | install | 1m 29s | mvn install still works. | | {color:green}+1{color} | eclipse:eclipse | 0m 34s | The patch built with eclipse:eclipse. | | {color:green}+1{color} | findbugs | 1m 11s | The patch does not introduce any new Findbugs (version 3.0.0) warnings. | | {color:green}+1{color} | mapreduce tests | 0m 48s | Tests passed in hadoop-mapreduce-client-common. | | | | 40m 33s | | \\ \\ || Subsystem || Report/Notes || | Patch URL | http://issues.apache.org/jira/secure/attachment/12768739/YARN-4263.003.patch | | Optional Tests | javadoc javac unit findbugs checkstyle | | git revision | trunk / 123b3db | | checkstyle | https://builds.apache.org/job/PreCommit-YARN-Build/9578/artifact/patchprocess/diffcheckstylehadoop-mapreduce-client-common.txt | | hadoop-mapreduce-client-common test log | https://builds.apache.org/job/PreCommit-YARN-Build/9578/artifact/patchprocess/testrun_hadoop-mapreduce-client-common.txt | | Test Results | https://builds.apache.org/job/PreCommit-YARN-Build/9578/testReport/ | | Java | 1.7.0_55 | | uname | Linux asf902.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | | Console output | https://builds.apache.org/job/PreCommit-YARN-Build/9578/console | This message was automatically generated. > Capacity scheduler 60%-40% formatting floating point issue > ---------------------------------------------------------- > > Key: YARN-4263 > URL: https://issues.apache.org/jira/browse/YARN-4263 > Project: Hadoop YARN > Issue Type: Bug > Components: client > Affects Versions: 2.7.1 > Reporter: Adrian Kalaszi > Priority: Trivial > Labels: easyfix > Attachments: YARN-4263.001.patch, YARN-4263.002.patch, > YARN-4263.003.patch > > > If capacity scheduler is set with two queues to 60% and 40% capacity, due to > a java float floating representation issue > {code} > > hadoop queue -list > ====================== > Queue Name : default > Queue State : running > Scheduling Info : Capacity: 40.0, MaximumCapacity: 100.0, CurrentCapacity: > 0.0 > ====================== > Queue Name : large > Queue State : running > Scheduling Info : Capacity: 60.000004, MaximumCapacity: 100.0, > CurrentCapacity: 0.0 > {code} > Because > {code} System.err.println((0.6f) * 100); {code} > results in 60.000004. -- This message was sent by Atlassian JIRA (v6.3.4#6332)