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

[jvm-packages] Fix "Rabit returns with exit code 3" problem #4224

Merged
merged 1 commit into from
Mar 7, 2019

Conversation

wsuchy
Copy link
Contributor

@wsuchy wsuchy commented Mar 6, 2019

This PR addresses the following issues:

closes #4054 #3418

It looks like there is a race condition between actors and sometimes the Tracker actor might get shut down before its supervisor is notified about completing the job.
There is no need to kill the actor explicitly after all workers are done as RabitTracker will shutdown the system anyways after hearing back from the actor: https://github.com/dmlc/xgboost/blob/master/jvm-packages/xgboost4j/src/main/scala/ml/dmlc/xgboost4j/scala/rabit/RabitTracker.scala#L159

@hcho3 hcho3 changed the title Fix "Rabit returns with exit code 3" problem [jvm-packages] Fix "Rabit returns with exit code 3" problem Mar 6, 2019
@hcho3 hcho3 requested a review from CodingCat March 6, 2019 20:31
@tovbinm
Copy link
Contributor

tovbinm commented Mar 6, 2019

Great!! Just a thought - another option could have been to ignore the actor already shut down exception.

@CodingCat CodingCat merged commit ac3d030 into dmlc:master Mar 7, 2019
@CodingCat
Copy link
Member

merged, thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[jvm-packages] context is stopped in RabitTrackerHandler
3 participants