camsas / firmament

The Firmament cluster scheduling platform
Apache License 2.0
412 stars 77 forks source link

Refactor scheduling code structure #22

Closed ms705 closed 9 years ago

ms705 commented 9 years ago

This PR refactors the previously messy structure of the scheduling code. Instead of mixing the different schedulers' code bases, the new version has the generic code for all schedulers in src/scheduling, the code relating to the flow-based scheduler in src/scheduling/flow, and the simple queue-based scheduler in src/scheduling/simple.

At the same time, this PR fixes issue #15, removing the circular dependency that led to unit test build failures.

ms705 commented 9 years ago

Reviewed and approved in https://review.gerrithub.io/#/c/234885. :+1: