Skip to content

Commit

Permalink
[xgboost] Fix the tracker_conf bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wbo4958 committed May 21, 2024
1 parent 6436748 commit c203597
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/XGBoost-Examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

<properties>
<encoding>UTF-8</encoding>
<xgboost.version>2.0.3</xgboost.version>
<xgboost.version>2.1.0-SNAPSHOT</xgboost.version>
<spark.version>3.5.0</spark.version>
<scala.version>2.12.8</scala.version>
<scala.binary.version>2.12</scala.binary.version>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/*
* Copyright (c) 2019-2021, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2019-2024, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -202,7 +202,7 @@ class XGBoostArgs private[utility] (

val hostIp = params.getOrElse("rabit_tracker_host", "").toString
if (!hostIp.isEmpty) {
params ++ Map("tracker_conf" -> TrackerConf(0l, hostIp))
params ++ Map("tracker_conf" -> TrackerConf(0, hostIp))
} else params
}

Expand Down

0 comments on commit c203597

Please sign in to comment.