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

Karthik Kambatla updated MAPREDUCE-4385:
----------------------------------------

    Attachment: MR-4385.patch

Added TestFairScheduler.testMaxTasksToAssign()
                
> FairScheduler.maxTasksToAssign() should check for 
> fairscheduler.assignmultiple.maps < TaskTracker.availableSlots
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4385
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4385
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>    Affects Versions: 1.0.3
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>         Attachments: MR-4385.patch, MR-4385.patch
>
>
> FairScheduler.maxTasksToAssign() can potentially return a value greater than 
> the available slots. Currently, we rely on canAssignMaps()/canAssignReduces() 
> to reject such requests.
> These additional calls can be avoided by check against the available slots in 
> maxTasksToAssign().

--
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

        

Reply via email to