Repository navigation
Implement auto-scaling (resolves #349, resolves #600) - #802
Merged
Merged
Conversation
hannes-ucsc
force-pushed
the
issues/349-autoscaling-squashed-rebased
branch
3 times, most recently
from
April 22, 2016 01:53
fd5d768 to
9f3236d
Compare
Contributor
|
Is this ready to merge?! I'd like to discuss tests for this. |
Member
Author
|
No. |
Fixing test. (+9 squashed commits) Squashed commits: [eb615b8] Changed to algorithm that uses avg job length to predict cluster needs. [86e9677] Refactored to make way for updated autoscaling algorithm (some of it was just general logical cleanup) [cd0472c] Removing duplicate methods [cacb276] Tests passing, but unhappy with autoscaling algorithm [ec34572] Tests for the cluster scaler in and working. [6f716b7] Adding in support for specification if a job is preemptable or note [a708025] Initial commit of provisioning algorithm. Still need to: (1) add preemption option for jobs (2) write a provisioner instance (3) implement new functions within batch systems [62fc197] Adding in a new abstract method to the abstract batch system class to get an approximation to the number of currently issued jobs queued. [3e98514] Adding basic provisioning API with concept of uninteruptable and preemptable nodes in a cluster.
... so that it's not dictated by test concerns and eliminates state in ABCs. Switched to new-style classes. Should fix most of the tests that broke when ScalableBatchSystemInterface was introduced. Plus nitpicks.
… common.py This will make more sense once we add the getNodeShape method to AbstractProvisioner
Mesos batch system: test tweaks (+7 squashed commits) Squashed commits: [b8f4aca] Mesos batch system: fix merge errors; consolidate redundant functionality [28fd8ec] Mesos batch system: fix variable naming [c85a023] Mesos batch system: fix merge error with variable name [28bf00d] Mesos batch system: fix missing interpolation in log message [c29df69] Mesos batch system: some method renamings [22091ae] Mesos batch system: Comment cleanup [7792d55] Mesos batch system: Removed unused/unsupported configuration
… like hot-deployment and worker clean-up
- user only specifies --nodeType, the corresponding shape is determined by provisioner - added provisioner-specific --nodeOptions - eliminate düplication - rid variable and option names of the "nonPreemptable" tongue breaker - pass preemptable bid as part of nodeType
Non-preemptable nodes and jobs are the default. Variables for the default case shouldn't be longer than the ones representing the special case.
There were just too many shadowed local variables for my taste.
hannes-ucsc
force-pushed
the
issues/349-autoscaling-squashed-rebased
branch
from
April 26, 2016 17:31
2addeca to
ccadc60
Compare
Member
Author
|
Jenkins, test this please. |
hannes-ucsc
force-pushed
the
issues/349-autoscaling-squashed-rebased
branch
from
April 26, 2016 23:29
38c78b2 to
ccadc60
Compare
Member
Author
|
So changing the instance type to c3.large caused the Toil builds to hang in the SLURM tests. I believe this is due to the lower memory offered by c3.large compared to m3.large. I changed the type again to c3.xlarge which has more cores and more memory than m3.large. |
Member
Author
|
I've added BD2KGenomics/cgcloud#155 to track the test sensitivity to instance type. |
Member
Author
|
With c3.xlarge, testServiceParallelRecursive hangs. |
Member
Author
|
Switched back to m3.large to skip the hanging test. Jenkins, test this please. |
Member
Author
|
Failed again, running out of SDB domains. Jenkins, test this please. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #349, resolves #600.
Continues #541