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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user