Revert "[jvm-packages] Add XGBOOST_RABIT_TRACKER_IP_FOR_TEST to set rabit tracker IP. (#6869)" (#6886)

This reverts commit 2828da3c4c.
This commit is contained in:
Jiaming Yuan
2021-04-22 02:20:10 +08:00
committed by GitHub
parent c8cc3eacc9
commit 74b41637de
3 changed files with 6 additions and 18 deletions

View File

@@ -51,8 +51,6 @@ public class TrackerProperties {
}
public String getHostIp(){
// mostly for testing
String hostIp = System.getenv("XGBOOST_RABIT_TRACKER_IP_FOR_TEST");
return hostIp != null ? hostIp : this.properties.getProperty(HOST_IP);
return this.properties.getProperty(HOST_IP);
}
}