Skip to content

hang on ray.get when redis_password has a space #5513

@dhroth

Description

@dhroth

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04.3 LTS
  • Ray installed from (source or binary): pip install ray
  • Ray version: 0.7.3
  • Python version: 3.6.8
  • Exact command to reproduce: See below

Describe the problem

Calling ray.init with redis_password containing no spaces works fine. Using a redis_password with a space causes the code to hang between the two print statements.

Source code / logs

import ray 

ray.init(redis_password="pw 1")

@ray.remote
def increment(num):
    return num + 1 

x = increment.remote(2)
print(x)
print(ray.get(x))

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions