YARN-1832. Fix wrong MockLocalizerStatus#equals implementation. Contributed by Hong Zhiguo.
(cherry picked from commit b167fe7605deb29ec533047d79d036eb65328853)
This commit is contained in:
parent
d817fbb34d
commit
170f1b0afd
@ -291,6 +291,9 @@ Release 2.8.0 - UNRELEASED
|
||||
YARN-2918. RM should not fail on startup if queue's configured labels do
|
||||
not exist in cluster-node-labels. (Wangda Tan via jianhe)
|
||||
|
||||
YARN-1832. Fix wrong MockLocalizerStatus#equals implementation.
|
||||
(Hong Zhiguo via aajisaka)
|
||||
|
||||
Release 2.7.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -67,7 +67,7 @@ public boolean equals(Object o) {
|
||||
return false;
|
||||
}
|
||||
MockLocalizerStatus other = (MockLocalizerStatus) o;
|
||||
return getLocalizerId().equals(other)
|
||||
return getLocalizerId().equals(other.getLocalizerId())
|
||||
&& getResources().containsAll(other.getResources())
|
||||
&& other.getResources().containsAll(getResources());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user