|
|
@ -247,10 +247,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); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|