YARN-4167. NPE on RMActiveServices#serviceStop when store is null. (Bibin A Chundatt via rohithsharmaks)
This commit is contained in:
parent
3a9c7076e8
commit
c9cb6a5960
@ -863,6 +863,8 @@ Release 2.8.0 - UNRELEASED
|
||||
YARN-4135. Improve the assertion message in MockRM while failing after waiting for the state.
|
||||
(Nijel S F via rohithsharmaks)
|
||||
|
||||
YARN-4167. NPE on RMActiveServices#serviceStop when store is null. (Bibin A Chundatt via rohithsharmaks)
|
||||
|
||||
Release 2.7.2 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -605,7 +605,9 @@ protected void serviceStop() throws Exception {
|
||||
if (rmContext != null) {
|
||||
RMStateStore store = rmContext.getStateStore();
|
||||
try {
|
||||
if (null != store) {
|
||||
store.close();
|
||||
}
|
||||
} catch (Exception e) {
|
||||
LOG.error("Error closing store.", e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user