[jira] [Updated] (YARN-4263) Capacity scheduler 60%-40% formatting floating point issue
[ https://issues.apache.org/jira/browse/YARN-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shane Kumpf updated YARN-4263: -- Labels: easyfix oct16-easy (was: easyfix) > 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, oct16-easy > Attachments: YARN-4263.001.patch, YARN-4263.002.patch, > YARN-4263.003.patch, YARN-4263.004.patch, YARN-4263.005.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.04, MaximumCapacity: 100.0, > CurrentCapacity: 0.0 > {code} > Because > {code} System.err.println((0.6f) * 100); {code} > results in 60.04. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-4263) Capacity scheduler 60%-40% formatting floating point issue
[ https://issues.apache.org/jira/browse/YARN-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Kalaszi updated YARN-4263: - Attachment: (was: YARN-4263.005.patch) > 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, YARN-4263.004.patch, YARN-4263.005.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.04, MaximumCapacity: 100.0, > CurrentCapacity: 0.0 > {code} > Because > {code} System.err.println((0.6f) * 100); {code} > results in 60.04. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (YARN-4263) Capacity scheduler 60%-40% formatting floating point issue
[ https://issues.apache.org/jira/browse/YARN-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Kalaszi updated YARN-4263: - Attachment: YARN-4263.005.patch > 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, YARN-4263.004.patch, YARN-4263.005.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.04, MaximumCapacity: 100.0, > CurrentCapacity: 0.0 > {code} > Because > {code} System.err.println((0.6f) * 100); {code} > results in 60.04. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (YARN-4263) Capacity scheduler 60%-40% formatting floating point issue
[ https://issues.apache.org/jira/browse/YARN-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Kalaszi updated YARN-4263: - Attachment: YARN-4263.002.patch > 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 > > > 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.04, MaximumCapacity: 100.0, > CurrentCapacity: 0.0 > {code} > Because > {code} System.err.println((0.6f) * 100); {code} > results in 60.04. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (YARN-4263) Capacity scheduler 60%-40% formatting floating point issue
[ https://issues.apache.org/jira/browse/YARN-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Kalaszi updated YARN-4263: - Attachment: YARN-4263.004.patch > 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, YARN-4263.004.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.04, MaximumCapacity: 100.0, > CurrentCapacity: 0.0 > {code} > Because > {code} System.err.println((0.6f) * 100); {code} > results in 60.04. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (YARN-4263) Capacity scheduler 60%-40% formatting floating point issue
[ https://issues.apache.org/jira/browse/YARN-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Kalaszi updated YARN-4263: - Attachment: YARN-4263.005.patch > 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, YARN-4263.004.patch, YARN-4263.005.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.04, MaximumCapacity: 100.0, > CurrentCapacity: 0.0 > {code} > Because > {code} System.err.println((0.6f) * 100); {code} > results in 60.04. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (YARN-4263) Capacity scheduler 60%-40% formatting floating point issue
[ https://issues.apache.org/jira/browse/YARN-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Kalaszi updated YARN-4263: - Attachment: YARN-4263.003.patch > 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.04, MaximumCapacity: 100.0, > CurrentCapacity: 0.0 > {code} > Because > {code} System.err.println((0.6f) * 100); {code} > results in 60.04. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (YARN-4263) Capacity scheduler 60%-40% formatting floating point issue
[ https://issues.apache.org/jira/browse/YARN-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Kalaszi updated YARN-4263: - Attachment: YARN-4263.001.patch Please review the patch, and consider applying. > 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 > Attachments: YARN-4263.001.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.04, MaximumCapacity: 100.0, > CurrentCapacity: 0.0 > {code} > Because > {code} System.err.println((0.6f) * 100); {code} > results in 60.04. -- This message was sent by Atlassian JIRA (v6.3.4#6332)