YARN-3425. NPE from RMNodeLabelsManager.serviceStop when NodeLabelsManager.serviceInit failed. (Bibin A Chundatt via wangda)
This commit is contained in:
parent
2e79f1c212
commit
492239424a
@ -129,6 +129,9 @@ Release 2.8.0 - UNRELEASED
|
|||||||
|
|
||||||
YARN-3412. RM tests should use MockRM where possible. (kasha)
|
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
|
Release 2.7.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -258,8 +258,10 @@ protected void serviceStart() throws Exception {
|
|||||||
// for UT purpose
|
// for UT purpose
|
||||||
protected void stopDispatcher() {
|
protected void stopDispatcher() {
|
||||||
AsyncDispatcher asyncDispatcher = (AsyncDispatcher) dispatcher;
|
AsyncDispatcher asyncDispatcher = (AsyncDispatcher) dispatcher;
|
||||||
|
if (null != asyncDispatcher) {
|
||||||
asyncDispatcher.stop();
|
asyncDispatcher.stop();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void serviceStop() throws Exception {
|
protected void serviceStop() throws Exception {
|
||||||
|
Loading…
Reference in New Issue
Block a user