[jira] [Updated] (MAPREDUCE-3504) capacity scheduler allow capacity greater then 100% as long as its less then 101%

2015-03-11 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer updated MAPREDUCE-3504:

Resolution: Won't Fix
Status: Resolved  (was: Patch Available)

Stale and likely no longer relevant for newer releases.

> capacity scheduler allow capacity greater then 100% as long as its less then 
> 101%
> -
>
> Key: MAPREDUCE-3504
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3504
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: capacity-sched
>Affects Versions: 0.20.205.0, 1.0.0
>Reporter: Thomas Graves
> Attachments: MAPREDUCE-3504-1.patch, MAPREDUCE-3504.patch
>
>
> When sum of all capacities >=101 or <100, we got the following error when 
> starting jobtracker. However, when the 100 <= sum < 101, jobtracker does not 
> report exception and started with all queues initialized.
> for instance (capacity sum = 29.5+60+11.4 = 100.9) does not cause exception.



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


[jira] [Updated] (MAPREDUCE-3504) capacity scheduler allow capacity greater then 100% as long as its less then 101%

2012-01-01 Thread Bhallamudi Venkata Siva Kamesh (Updated) (JIRA)

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

Bhallamudi Venkata Siva Kamesh updated MAPREDUCE-3504:
--

Affects Version/s: 1.0.0

> capacity scheduler allow capacity greater then 100% as long as its less then 
> 101%
> -
>
> Key: MAPREDUCE-3504
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3504
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: contrib/capacity-sched
>Affects Versions: 0.20.205.0, 1.0.0
>Reporter: Thomas Graves
> Attachments: MAPREDUCE-3504-1.patch, MAPREDUCE-3504.patch
>
>
> When sum of all capacities >=101 or <100, we got the following error when 
> starting jobtracker. However, when the 100 <= sum < 101, jobtracker does not 
> report exception and started with all queues initialized.
> for instance (capacity sum = 29.5+60+11.4 = 100.9) does not cause exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-3504) capacity scheduler allow capacity greater then 100% as long as its less then 101%

2011-12-15 Thread Bh V S Kamesh (Updated) (JIRA)

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

Bh V S Kamesh updated MAPREDUCE-3504:
-

Status: Patch Available  (was: Open)

> capacity scheduler allow capacity greater then 100% as long as its less then 
> 101%
> -
>
> Key: MAPREDUCE-3504
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3504
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: contrib/capacity-sched
>Affects Versions: 0.20.205.0
>Reporter: Thomas Graves
> Attachments: MAPREDUCE-3504-1.patch, MAPREDUCE-3504.patch
>
>
> When sum of all capacities >=101 or <100, we got the following error when 
> starting jobtracker. However, when the 100 <= sum < 101, jobtracker does not 
> report exception and started with all queues initialized.
> for instance (capacity sum = 29.5+60+11.4 = 100.9) does not cause exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-3504) capacity scheduler allow capacity greater then 100% as long as its less then 101%

2011-12-14 Thread Bh V S Kamesh (Updated) (JIRA)

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

Bh V S Kamesh updated MAPREDUCE-3504:
-

Attachment: MAPREDUCE-3504-1.patch

Patch containing testcase

> capacity scheduler allow capacity greater then 100% as long as its less then 
> 101%
> -
>
> Key: MAPREDUCE-3504
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3504
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: contrib/capacity-sched
>Affects Versions: 0.20.205.0
>Reporter: Thomas Graves
> Attachments: MAPREDUCE-3504-1.patch, MAPREDUCE-3504.patch
>
>
> When sum of all capacities >=101 or <100, we got the following error when 
> starting jobtracker. However, when the 100 <= sum < 101, jobtracker does not 
> report exception and started with all queues initialized.
> for instance (capacity sum = 29.5+60+11.4 = 100.9) does not cause exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (MAPREDUCE-3504) capacity scheduler allow capacity greater then 100% as long as its less then 101%

2011-12-13 Thread Bh V S Kamesh (Updated) (JIRA)

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

Bh V S Kamesh updated MAPREDUCE-3504:
-

Attachment: MAPREDUCE-3504.patch

Sanity check has been done using *Math.floor* to verify totalCapacityPercent is 
100 or not. This is causing the problem. 
Attached patch which does comparision using *Double.compare*

> capacity scheduler allow capacity greater then 100% as long as its less then 
> 101%
> -
>
> Key: MAPREDUCE-3504
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3504
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: contrib/capacity-sched
>Affects Versions: 0.20.205.0
>Reporter: Thomas Graves
> Attachments: MAPREDUCE-3504.patch
>
>
> When sum of all capacities >=101 or <100, we got the following error when 
> starting jobtracker. However, when the 100 <= sum < 101, jobtracker does not 
> report exception and started with all queues initialized.
> for instance (capacity sum = 29.5+60+11.4 = 100.9) does not cause exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira