|
|
|
@ -247,10 +247,8 @@ public class ZKMasterClient extends AbstractZKClient {
|
|
|
|
|
*/ |
|
|
|
|
private void alertServerDown(String serverHost, ZKNodeType zkNodeType) { |
|
|
|
|
|
|
|
|
|
String serverType = zkNodeType.toString(); |
|
|
|
|
for (int i = 0; i < Constants.DOLPHINSCHEDULER_WARN_TIMES_FAILOVER; i++) { |
|
|
|
|
alertDao.sendServerStopedAlert(1, serverHost, serverType); |
|
|
|
|
} |
|
|
|
|
String serverType = zkNodeType.toString(); |
|
|
|
|
alertDao.sendServerStopedAlert(1, serverHost, serverType); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|