YARN-3604. Fixed ZKRMStateStore#removeApplication to also disable watch. Contributed Zhihai Xu
This commit is contained in:
parent
088156de43
commit
d0b73287c2
|
@ -368,6 +368,9 @@ Release 2.8.0 - UNRELEASED
|
|||
|
||||
YARN-3600. AM container link is broken (Naganarasimha G R via tgraves)
|
||||
|
||||
YARN-3604. Fixed ZKRMStateStore#removeApplication to also disable watch.
|
||||
(zhihai xu via jianhe)
|
||||
|
||||
Release 2.7.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -827,8 +827,8 @@ public class ZKRMStateStore extends RMStateStore {
|
|||
public synchronized void removeApplication(ApplicationId removeAppId)
|
||||
throws Exception {
|
||||
String appIdRemovePath = getNodePath(rmAppRoot, removeAppId.toString());
|
||||
if (existsWithRetries(appIdRemovePath, true) != null) {
|
||||
deleteWithRetries(appIdRemovePath, true);
|
||||
if (existsWithRetries(appIdRemovePath, false) != null) {
|
||||
deleteWithRetries(appIdRemovePath, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue