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

Hadoop QA commented on YARN-10765:
----------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime ||  Logfile || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  
0s{color} | {color:blue}{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red}  0m 11s{color} 
| {color:red}{color} | {color:red} YARN-10765 does not apply to trunk. Rebase 
required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for 
help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | YARN-10765 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/13025222/YARN-10765-001.patch |
| Console output | 
https://ci-hadoop.apache.org/job/PreCommit-YARN-Build/967/console |
| versions | git=2.17.1 |
| Powered by | Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org |


This message was automatically generated.



> Fair scheduler continuous scheduling thread crashes while sorting nodes
> -----------------------------------------------------------------------
>
>                 Key: YARN-10765
>                 URL: https://issues.apache.org/jira/browse/YARN-10765
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 2.7.0, 2.7.1
>            Reporter: jianjin qin
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: YARN-10765-001.patch
>
>
> NodeAvailableResourceComparator use variable nodes which contains to compare, 
> but nodeIdList is not same with nodes.keySet() during sort. when node removed 
> before sort, such as n2,n3 are removed, compare(n2, n3)=1 and compare(n3, 
> n2)=1, this violates the reflexivity of comparator, we may get the exception: 
> java.lang.IllegalArgumentException: Comparison method violates its general 
> contract!
> {code:java}
> 2021-01-19 10:22:55,102 ERROR 
> org.apache.hadoop.yarn.YarnUncaughtExceptionHandler: Thread 
> Thread[FairSchedulerContinuousScheduling,5,main] threw an Exception.
> java.lang.IllegalArgumentException: Comparison method violates its general 
> contract!
>         at java.util.TimSort.mergeLo(TimSort.java:747)
>         at java.util.TimSort.mergeAt(TimSort.java:483)
>         at java.util.TimSort.mergeCollapse(TimSort.java:410)
>         at java.util.TimSort.sort(TimSort.java:214)
>         at java.util.TimSort.sort(TimSort.java:173)
>         at java.util.Arrays.sort(Arrays.java:659)
>         at java.util.Collections.sort(Collections.java:217)
>         at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.continuousSchedulingAttempt(FairScheduler.java:1069)
>         at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler$ContinuousSchedulingThread.run(FairScheduler.java:322)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to