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