YARN-11447 A bug occurs during the active/standby switchover of RM, causing RM to work abnormally

This commit is contained in:
章锡平 2023-03-17 17:48:13 +08:00
parent 759ddebb13
commit f78843fa09
1 changed files with 2 additions and 0 deletions

View File

@ -1225,6 +1225,8 @@ public class ResourceManager extends CompositeService
} catch (Exception e) {
LOG.error(FATAL, "Failed to transition RM to Standby mode.", e);
ExitUtil.terminate(1, e);
} finally {
hasAlreadyRun.set(false);
}
}
}