You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (mlHost != null && lbh != null && !mlHost.equals(lbh)){
936
-
thrownewDataHubConfigurationException("mlLoadBalancerHosts must be the same as mlHost");
934
+
if (isHostLoadBalancer != null){
935
+
if (isHostLoadBalancer) {
936
+
if (mlHost != null && lbh != null){
937
+
logger.warn("\"mlLoadBalancerHosts\" is a deprecated property. When \"mlIsHostLoadBalancer\" is set to \"true\", the value specified for \"mlHost\" will be used as the load balancer.");
938
+
if (!mlHost.equals(lbh)) {
939
+
thrownewDataHubConfigurationException("\"mlLoadBalancerHosts\" must be the same as \"mlHost\"");
940
+
}
941
+
else {
942
+
loadBalancerHost = mlHost;
943
+
}
944
+
}
945
+
}
946
+
else {
947
+
if (lbh != null){
948
+
thrownewDataHubConfigurationException("\"mlIsHostLoadBalancer\" must not be false if you are using \"mlLoadBalancerHosts\"");
949
+
}
950
+
}
951
+
}
952
+
else{
953
+
if (mlHost != null && lbh != null){
954
+
if (!mlHost.equals(lbh)) {
955
+
thrownewDataHubConfigurationException("\"mlLoadBalancerHosts\" must be the same as \"mlHost\"");
0 commit comments