YARN-1481. Addendum patch to fix synchronization in AdminService
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1553738 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1c9ac9adeb
commit
defeef6fe4
@ -174,7 +174,7 @@ private UserGroupInformation checkAcls(String method) throws YarnException {
|
||||
}
|
||||
}
|
||||
|
||||
private synchronized boolean isRMActive() {
|
||||
private boolean isRMActive() {
|
||||
return HAServiceState.ACTIVE == rmContext.getHAServiceState();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user