[
https://issues.apache.org/jira/browse/YARN-4090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261546#comment-15261546
]
Xianyin Xin commented on YARN-4090:
-----------------------------------
Sorry for the delay, [~kasha] [~yufeigu]. Just uploaded the patch which fixed
the three test fails above. For the two fails in
{{TestFairSchedulerPreemption}}, it is because the {{decResourceUsage}} was
double called when processing preemption (in both {{addPreemption()}} and
{{containerCompleted()}}), and for the fail in {{TestAppRunnability}}, it is
because we missed updating the queue's resource usage when moving an app.
Thanks [~yufeigu] for you info.
> Make Collections.sort() more efficient in FSParentQueue.java
> ------------------------------------------------------------
>
> Key: YARN-4090
> URL: https://issues.apache.org/jira/browse/YARN-4090
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: fairscheduler
> Reporter: Xianyin Xin
> Assignee: Xianyin Xin
> Attachments: YARN-4090-TestResult.pdf, YARN-4090-preview.patch,
> YARN-4090.001.patch, sampling1.jpg, sampling2.jpg
>
>
> Collections.sort() consumes too much time in a scheduling round.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)