Enable redis password in Java worker (#3943)

* Support Java redis password

* Fix

* Refine

* Fix lint.
This commit is contained in:
Wang Qing
2019-02-12 13:11:25 +08:00
committed by Yuhong Guo
parent 9797028a91
commit c523bc04ad
8 changed files with 116 additions and 12 deletions
@@ -64,6 +64,10 @@ ray {
address: ""
// If `redis.server` isn't provided, which port we should use to start redis server.
head-port: 6379
// The password used to start the redis server on the head node.
head-password: ""
// The password used to connect to the redis server.
password:""
// If `redis.server` isn't provided, how many Redis shards we should start in addition to the
// primary Redis shard. The ports of these shards will be `head-port + 1`, `head-port + 2`, etc.
shard-number: 1