HBASE-8910 HMaster.abortNow shouldn't try to become a master again if it was stopped

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1501865 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2013-07-10 17:30:41 +00:00
parent 0886b18561
commit 2f1ba4a7fa
1 changed files with 1 additions and 1 deletions

View File

@ -2147,7 +2147,7 @@ MasterServices, Server {
* @return true if we should proceed with abort operation, false other wise.
*/
private boolean abortNow(final String msg, final Throwable t) {
if (!this.isActiveMaster) {
if (!this.isActiveMaster || this.stopped) {
return true;
}
if (t != null && t instanceof KeeperException.SessionExpiredException) {