[
https://issues.apache.org/jira/browse/YARN-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13904321#comment-13904321
]
Sandy Ryza commented on YARN-1724:
----------------------------------
The rationale for adding the sort is in YARN-1290. Wei presented experimental
results there showing that it distributed work more evenly in the cluster.
This JIRA is just for fixing the race - if you think we should remove it, we
can discuss that on YARN-1290 or in a new JIRA.
> Race condition in Fair Scheduler when continuous scheduling is turned on
> -------------------------------------------------------------------------
>
> Key: YARN-1724
> URL: https://issues.apache.org/jira/browse/YARN-1724
> Project: Hadoop YARN
> Issue Type: Bug
> Components: scheduler
> Reporter: Sandy Ryza
> Assignee: Sandy Ryza
> Attachments: YARN-1724-1.patch, YARN-1724.patch
>
>
> If nodes resource allocations change during
> Collections.sort(nodeIdList, nodeAvailableResourceComparator);
> we'll hit:
> java.lang.IllegalArgumentException: Comparison method violates its general
> contract!
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)