YARN-3425. NPE from RMNodeLabelsManager.serviceStop when NodeLabelsManager.serviceInit failed. (Bibin A Chundatt via wangda)
(cherry picked from commit 492239424a
)
This commit is contained in:
parent
5e4d457674
commit
865be70b02
|
@ -81,6 +81,9 @@ Release 2.8.0 - UNRELEASED
|
|||
|
||||
YARN-3412. RM tests should use MockRM where possible. (kasha)
|
||||
|
||||
YARN-3425. NPE from RMNodeLabelsManager.serviceStop when
|
||||
NodeLabelsManager.serviceInit failed. (Bibin A Chundatt via wangda)
|
||||
|
||||
Release 2.7.0 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -258,8 +258,10 @@ public class CommonNodeLabelsManager extends AbstractService {
|
|||
// for UT purpose
|
||||
protected void stopDispatcher() {
|
||||
AsyncDispatcher asyncDispatcher = (AsyncDispatcher) dispatcher;
|
||||
if (null != asyncDispatcher) {
|
||||
asyncDispatcher.stop();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void serviceStop() throws Exception {
|
||||
|
|
Loading…
Reference in New Issue