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

Arun C Murthy commented on MAPREDUCE-2788:
------------------------------------------

Ahmed - another way would be to ensure there are no requests which need 
memory=0 - this check can be enforced in CS.normalizeRequests. Do you want to 
take a crack at that? Also, please mark this as PA when done - that way I (or 
other committers) can pick it up on my PA filter. Thanks.

> LeafQueue.assignContainer() can cause a crash if 
> request.getCapability().getMemory() == 0
> -----------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2788
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2788
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>         Attachments: MAPREDUCE-2788.patch
>
>
> The assignContainer() method in 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue 
> can cause the scheduler to crash if the ResourseRequest capability memory == 
> 0 (divide by zero).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to