hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ishai Menache (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4525) Bug in RLESparseResourceAllocation.getRangeOverlapping(...)
Date Thu, 11 Feb 2016 19:59:18 GMT

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

Ishai Menache commented on YARN-4525:
-------------------------------------

Added the patch that fixes this issue. [~curino] please review 

> Bug in RLESparseResourceAllocation.getRangeOverlapping(...)
> -----------------------------------------------------------
>
>                 Key: YARN-4525
>                 URL: https://issues.apache.org/jira/browse/YARN-4525
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Ishai Menache
>            Assignee: Ishai Menache
>         Attachments: YARN-4525.patch
>
>
> One of our tests detected a corner case in getRangeOverlapping: When the RLESparseResourceAllocation
object is a result of a merge operation, the underlying map is a "view" within some range.
If  'end' is outside that range, headMap(..) throws an uncaught exception.



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

Mime
View raw message