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

Allow address instead of redis_address #5412

Merged
merged 9 commits into from
Aug 10, 2019
Merged

Conversation

ericl
Copy link
Contributor

@ericl ericl commented Aug 9, 2019

In anticipation of deprecating redis_address, add address which is just an alias of redis_address. In a couple releases, we can remove uses of redis_address from the documentation as well.

This also allows --address=auto which will auto-find any local redises.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/16166/
Test PASSed.

python/ray/services.py Outdated Show resolved Hide resolved
else:
ray.init(
redis_address=args.redis_address,
address=args.ray_address,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you also change all of the examples in tune and rllib?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm purposely not changing them since I don't want users to start using it on old versions of Ray. We can add it to the docs in a couple months.

python/ray/scripts/scripts.py Show resolved Hide resolved
python/ray/services.py Outdated Show resolved Hide resolved
python/ray/worker.py Show resolved Hide resolved
@richardliaw
Copy link
Contributor

richardliaw commented Aug 9, 2019 via email

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/16194/
Test PASSed.

Copy link
Collaborator

@robertnishihara robertnishihara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me assuming tests pass.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/16201/
Test PASSed.

@ericl ericl merged commit df47bdf into ray-project:master Aug 10, 2019
@pcmoritz pcmoritz mentioned this pull request Aug 20, 2019
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants