Global scheduler skeleton (#45)

* Initial scheduler commit

* global scheduler

* add global scheduler

* Implement global scheduler skeleton.

* Formatting.

* Allow local scheduler to be started without a connection to redis so that we can test it without a global scheduler.

* Fail if there are no local schedulers when the global scheduler receives a task.

* Initialize uninitialized value and formatting fix.

* Generalize local scheduler table to db client table.

* Remove code duplication in local scheduler and add flag for whether a task came from the global scheduler or not.

* Queue task specs in the local scheduler instead of tasks.

* Simple global scheduler tests, including valgrind.

* Factor out functions for starting processes.

* Fixes.
This commit is contained in:
Robert Nishihara
2016-11-18 19:57:51 -08:00
committed by Stephanie Wang
parent 08707f9408
commit d77b685a90
50 changed files with 1070 additions and 328 deletions
+2 -1
View File
@@ -26,7 +26,8 @@ setup(name="ray",
"build/plasma_manager",
"lib/python/libplasma.so"],
"photon": ["build/photon_scheduler",
"libphoton.so"]},
"photon/libphoton.so"],
"global_scheduler": ["build/global_scheduler"]},
data_files=datafiles,
cmdclass={"install": install},
install_requires=["numpy",