ray/python
Devin Petersohn a174a46e02 Allowing multiple users to access the /tmp/ray file at the same time (#3591)
* Allowing multiple users to access the /tmp/ray file at the same time

Previous sequence that caused this issue:
* User A starts ray with `ray.init` when /tmp/ray does not exist
* User B starts ray with `ray.init` and /tmp/ray now exists

User B will get a permissions error
Checking the permissions, /tmp/ray is 700

I have identified a race condition in `try_to_create_directory`
* Multiple processes try to create /tmp/ray at the same time
* chmod is either silently erroring or working properly within the race condition

Resolution: Move chmod outside of the check for whether the directory exists or not.

* Adding try except for users who do not own the directory
2018-12-20 18:46:54 -08:00
..
benchmarks Deprecate num_workers argument to ray.init and ray start. (#3114) 2018-10-28 20:12:49 -07:00
ray Allowing multiple users to access the /tmp/ray file at the same time (#3591) 2018-12-20 18:46:54 -08:00
asv.conf.json [asv] Pushing to s3 (#2246) 2018-06-20 10:43:44 -07:00
build-wheel-macos.sh Update arrow to reduce plasma IPCs. (#3497) 2018-12-14 23:49:37 -05:00
build-wheel-manylinux1.sh Update arrow to reduce plasma IPCs. (#3497) 2018-12-14 23:49:37 -05:00
README-benchmarks.rst [rllib][asv] Support ASV for RLlib (#2304) 2018-06-28 17:20:09 -07:00
README-building-wheels.md [DataFrame] Add Parquet Support in Build Process (#1531) 2018-02-16 07:18:42 -08:00
setup.py Make README render properly on PyPI. (#3578) 2018-12-19 18:41:09 -08:00