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:
parent
0886b18561
commit
2f1ba4a7fa
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue