Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RabitTracker:179 - FAULT: failed to start tracker process #8191

Closed
Ayyan-droid opened this issue Aug 22, 2022 · 9 comments · Fixed by #10112
Closed

RabitTracker:179 - FAULT: failed to start tracker process #8191

Ayyan-droid opened this issue Aug 22, 2022 · 9 comments · Fixed by #10112

Comments

@Ayyan-droid
Copy link

hi i am getting this error can any guide me
spark version 3.1
xgboost4j_2.12-1.6.1.jar
xgboost4j-spark_2.12-1.6.1.jar

ERROR RabitTracker:179 - FAULT: failed to start tracker process
ERROR XGBoostSpark:643 - the job was aborted due to
java.lang.IllegalArgumentException: requirement failed: FAULT: Failed to start tracker
at scala.Predef$.require(Predef.scala:281)
at ml.dmlc.xgboost4j.scala.spark.XGBoost$.startTracker(XGBoost.scala:436)
at ml.dmlc.xgboost4j.scala.spark.XGBoost$.trainDistributed(XGBoost.scala:593)
at ml.dmlc.xgboost4j.scala.spark.XGBoostClassifier.train(XGBoostClassifier.scala:199)
at ml.dmlc.xgboost4j.scala.spark.XGBoostClassifier.train(XGBoostClassifier.scala:40)
at org.apache.spark.ml.Predictor.fit(Predictor.scala:151)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
at py4j.Gateway.invoke(Gateway.java:282)
at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
at py4j.commands.CallCommand.execute(CallCommand.java:79)
at py4j.GatewayConnection.run(GatewayConnection.java:238)
at java.lang.Thread.run(Thread.java:750)

@trivialfis
Copy link
Member

Could you please share the specification of the environment where we can try to reproduce it?

@Ayyan-droid
Copy link
Author

hi i am running it on docker with following versions
spark version 3.1
xgboost4j_2.12-1.6.1.jar
xgboost4j-spark_2.12-1.6.1.jar

@Ayyan-droid
Copy link
Author

code works fine on local environment

@Ayyan-droid
Copy link
Author

Ayyan-droid commented Aug 28, 2022 via email

@trivialfis
Copy link
Member

Hi, we need more information on how to reproduce it. We run XGBoost jobs almost daily and haven't seen it.

@Ayyan-droid
Copy link
Author

Ayyan-droid commented Aug 31, 2022 via email

@Ayyan-droid
Copy link
Author

Ayyan-droid commented Aug 31, 2022 via email

@trivialfis
Copy link
Member

@Ayyan-droid Consider using the pyspark in xgboost with the nightly build.

Nightly build:
https://xgboost.readthedocs.io/en/latest/install.html#id1

Pyspark tutorial:
https://xgboost.readthedocs.io/en/latest/tutorials/spark_estimator.html

@wbo4958
Copy link
Contributor

wbo4958 commented Sep 2, 2022

@Ayyan-droid if you're using the XGBoost jvm packages, you can specify the Tracker configuration by

Map("tracker_conf" -> TrackerConf(0l, "python", YOUR_IP, PYTHON_EXEC))

See

case class TrackerConf(workerConnectionTimeout: Long, trackerImpl: String,
  hostIp: String = "", pythonExec: String = "")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To Do
Development

Successfully merging a pull request may close this issue.

3 participants