* Changes to the build system for support java worker
--------------------------
This commit includes changes to the build system, which is part of the java worker support of Ray.
It consists of the following changes:
- the changes of CMakeLists.txt files
- the changes of the python setup.py and init files for the adaptation of the changed build system
- move the location of local_scheduler_extension.cc for the adaptation of the changed build system which maybe better support multi-language worker
* minor whitespace
* Linting
* [xray] Throttle task dispatch by required resources
* Pass in number of initial workers into raylet command
* Workers blocked in a ray.get release resources
* separate task placement and task dispatch; throttle task dispatch with locally available resournces
* keep track of worker's being started/in flight and suppress starting extraneous workers
* cleanup comments
* remove early termination in task dispatch to support zero-resource actor tasks
* info -> debug
* add documentation
* linting
* mock the worker pool for testing
* some linting
* kill all workers in flight; clear the worker pool in dtor
* remove fixed todo
* lint
* removes transfer service. adds separate pool for sends and receives.
* get rid of send/receive transfer counts.
* update comment.
* remove clang formatting.
* clang formatting.
* Allow numpy arrays and larger objects to be passed by value in task specifications.
* Fix bug.
* Fix bug. Inline all bug numpy object arrays.
* Increase size limit for inlining args in task spec.
* Give numpy init different signatures in Python 2 and Python 3.
* Simplify code.
* Fix test.
* Use import_array1 instead of import_array.
* Add PubsubInterface to GCS tables
* Add task table PubsubInterface to lineage cache and tests
* Request notifications for remote tasks in the lineage cache
* Add RegisterGCS method to node manager
* Fix NodeManager member initialization order, subscribe to task table notifications
* Comments
* Use returned statuses.
* Fix double commit bug in lineage cache
* lint
* More linting.
* Fix pure virtual method declarations
* cache all object info from object added store notification.
* Adds parallel transfer for big objects.
* documentation and clean up.
* compare objects...
* merge buffer_state with chunk vec. Make separate buffer state for get and create.
* use references for Get. Allow partial failure of Create.
* single plasma client.
* changes based on review.
* update documentation and add parameters for object manager in main.cc.
* review feedback.
* use vector consturctor.
* linting
* remove profile visualizations.
* test fixes.
* linting.
* kill specific pids and use less memory.
* linting.
* simplify tests.
* Asynchronous IO for ObjectManager messages and object transfer.
* Revert "Asynchronous IO for ObjectManager messages and object transfer."
This reverts commit 4af43b159babc04daf80d1543e27c2cb46b7b19d.
* update test configuration to reflect changes in #1891
* review feedback.
* linting.
* remove num_threads as a parameter.
* linting.
* add additional checks.
* Invoke TransferCompleted on failures.
* Fix issue with failed Gets on store.
* ray check status of writing object headers.
* fix mac issues.
* Add raylet monitor script to timeout Raylet heartbeats
* Unit test for removing a different client from the client table
* Set node manager heartbeat according to global config
* Doc and fixes
* Add regression test for client table disconnect, refactor client table
* Convert 'Terminate' methods to destructors
* Destroy the Raylet on a SIGTERM
* Clean up workers on a SIGTERM
* Add raylet monitor script to timeout Raylet heartbeats
* Unit test for removing a different client from the client table
* Set node manager heartbeat according to global config
* Doc and fixes
* Add regression test for client table disconnect, refactor client table
* Fix linting.
* Integrate worker with raylet.
* Begin allowing worker to attach to cluster.
* Fix linting and documentation.
* Fix linting.
* Comment tests back in.
* Fix type of worker command.
* Remove xray python files and tests.
* Fix from rebase.
* Add test.
* Copy over raylet executable.
* Small cleanup.