hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlo Curino (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4525) Fix bug in RLESparseResourceAllocation.getRangeOverlapping(...)
Date Tue, 07 Jun 2016 18:25:21 GMT

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

Carlo Curino commented on YARN-4525:
------------------------------------

Thanks to [~imenache] for spotting the issue and proposing the initial patch, and to [~asuresh]
for reviewing and committing. 

> Fix bug in RLESparseResourceAllocation.getRangeOverlapping(...)
> ---------------------------------------------------------------
>
>                 Key: YARN-4525
>                 URL: https://issues.apache.org/jira/browse/YARN-4525
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Ishai Menache
>            Assignee: Ishai Menache
>             Fix For: 2.8.0
>
>         Attachments: YARN-4525.1.patch, YARN-4525.2.patch, 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message