void clearDeadServersWithSameHostNameAndPortOfOnlineServer() {
    for (ServerName serverName : getOnlineServersList()) {
      deadservers.cleanAllPreviousInstances(serverName);
    }
  }
To clear any dead server with same host name and port of any online server
hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java