LOG.info("automatic failover enabled");
groupMembershipService.start();
}
} else {
LOG.info("HA not enabled");
<BUG>transitionToActive();
}</BUG>
startWepApp();
if (getConfig().getBoolean(YarnConfiguration.IS_MINI_YARN_CLUSTER, false)) {
int port = webApp.port();

LOG.info("automatic failover enabled");
groupMembershipService.start();
}
} else {
LOG.info("HA not enabled");
transitionToActive();
createAndStartContainersLogsService();
}
startWepApp();
if (getConfig().getBoolean(YarnConfiguration.IS_MINI_YARN_CLUSTER, false)) {
int port = webApp.port();
