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

[Core] Warn when --temp-dir is given on a worker node ray start #31294

Merged

Conversation

rkooo567
Copy link
Contributor

Signed-off-by: SangBin Cho rkooo567@gmail.com

Why are these changes needed?

When we start a node we can specify --temp-dir but it only works if the node is the head node. This PR prints the warning to users that temp-dir is ignored.

Alternatively we could raise an exception. I am open to this option too, but it'd be great to minimize the upgrade friction.

Related issue number

Closes #28876

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Signed-off-by: SangBin Cho <rkooo567@gmail.com>
@scv119 scv119 added the @author-action-required The PR author is responsible for the next step. Remove tag to send back to the reviewer. label Jan 3, 2023
@rkooo567 rkooo567 merged commit 19e54bf into ray-project:master Jan 4, 2023
@jovany-wang
Copy link
Contributor

jovany-wang commented Jan 5, 2023

Nice improvemence!

AmeerHajAli pushed a commit that referenced this pull request Jan 12, 2023
Signed-off-by: SangBin Cho <rkooo567@gmail.com>
tamohannes pushed a commit to ju2ez/ray that referenced this pull request Jan 25, 2023
Signed-off-by: SangBin Cho <rkooo567@gmail.com>
Signed-off-by: tmynn <hovhannes.tamoyan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@author-action-required The PR author is responsible for the next step. Remove tag to send back to the reviewer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Core] Worker node ignoring --temp-dir option
4 participants