YARN-1832. Fix wrong MockLocalizerStatus#equals implementation. Contributed by Hong Zhiguo.
This commit is contained in:
parent
f489a4ec96
commit
b167fe7605
|
@ -336,6 +336,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 class MockLocalizerStatus implements LocalizerStatus {
|
|||
return false;
|
||||
}
|
||||
MockLocalizerStatus other = (MockLocalizerStatus) o;
|
||||
return getLocalizerId().equals(other)
|
||||
return getLocalizerId().equals(other.getLocalizerId())
|
||||
&& getResources().containsAll(other.getResources())
|
||||
&& other.getResources().containsAll(getResources());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue