YARN-1481. Addendum patch to fix synchronization in AdminService

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1553741 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Karthik Kambatla 2013-12-27 21:11:12 +00:00
parent b99dd5de74
commit 05ff546482
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ public class AdminService extends AbstractService implements
}
}
private synchronized boolean isRMActive() {
private boolean isRMActive() {
return HAServiceState.ACTIVE == rmContext.getHAServiceState();
}