-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[tune] logger_creator fail on machines with different users (different $HOME paths) #4326
Comments
Hmm, this can be done by avoiding the Would you be interested in pushing a fix? |
It would be great to contribute. I'll try to dive into on weekends. |
So how's your progress on the issue? I can submit PR if you didn't succeed with the fix. |
Seems like this PR #4806 fixes the issue. |
I think this is closed by #4806. |
System information
Describe the problem
Running experiment with several workers on different machines in small cluster fails if the users on the machines are different. Master machine (the one that hosts redis server) broadcasts it's current
$HOME
path to the other machines, instead of retrieving$HOME
locally on every machine. As a result workers fail to create folder for logs and the experiment fails withPermissionError
.Source code / logs
Current workaround (technically, a crunch to fix it)
Specify
local_dir
parameter intune.Experiment
declaration and create corresponding directory on every machine.This approach still requires root privileges on the worker machines (to create directory elsewhere the user
$HOME
) but at least makes the scripts resistant to user change on the machine running the experiments.The text was updated successfully, but these errors were encountered: