Abhishek Jain
|
e01c7b1b1d
|
Retrofitted all the schedulers to call UpdateEnvironment(..) function instead of the old named function i.e AddHostIfNew(..)
|
2017-03-25 18:06:39 -04:00 |
|
Abhishek Jain
|
b4f9a989cb
|
Retrofitted all the schedulers to now call the offerutils.AddHostIfNew(..) utility function which will dynamically populate the constants.Hosts and constants.PowerClasses.
|
2017-03-24 16:28:49 -04:00 |
|
Abhishek Jain
|
aed4fd1073
|
Retrofitted all schedulers to now pick the hostname from the offer and add it to constants.Hosts
|
2017-03-23 22:16:05 -04:00 |
|
Pradyumna Kaushik
|
02fede7184
|
resolved merge conflict with master. Also, changed the name of the constructor for BPSWMaxMin from NewBPMaxMinWatts to NewBPSWMaxMinWatts
|
2017-02-11 14:26:27 -05:00 |
|
Pradyumna Kaushik
|
1dcf416849
|
Resolved merge conflicts with master
|
2017-02-10 16:23:09 -05:00 |
|
Pradyumna Kaushik
|
6c62b5326f
|
Added a HostMismatch(...) in offerUtils that checks whether a task's host requirement matches the host corresponding to the offer. Made sure all schedulers call takeOffer(...) that is defined in each scheduler, to maintain consistency.
|
2017-02-09 22:48:34 -05:00 |
|
Pradyumna Kaushik
|
9dc5bdada2
|
Moved all the common scheduler attributes into base.go
|
2017-02-09 20:27:18 -05:00 |
|
Pradyumna Kaushik
|
57512ac2dd
|
Changed ignoreWatts to wattsAsAResource. This resulted in flipping of the condition checks that use these variablees
|
2017-02-09 18:41:40 -05:00 |
|
Pradyumna Kaushik
|
fdcb401447
|
Made classMapWatts a commandLine option where one can enable and disable mapping of watts to powerclasses when accepting offers from Mesos. Removed the schedulers that were created solely for the classMapWatts feature. Retrofitted all schedulers to use the powerClass mapped watts attribute for a task, if classMapWatts has been enabled. Removed unnecessary functions and variables from constants.go. Removed unnecessary functions from utilities/utils.go. Fixed operator precendence issue with takeOffer(...) in some of the schedulers. Added TODO to decouple capping strategies from the schedulers completely. Added TODO to move all the common struct attributes in the schedulers into base.go.
|
2017-02-09 18:05:38 -05:00 |
|
Pradyumna Kaushik
|
eea0db0b3d
|
retrofitted schedulers by renaming 'taken' to 'offerTaken' for the boolean to indicate whether an offer has been consumed.
|
2017-02-04 16:59:25 -05:00 |
|
Pradyumna Kaushik
|
8581749435
|
retrofitted all schedulers to call OfferAgg(...) and OffersSorter from utilities/offerUtils and also to use defaultFilter and longFilter from utilities/mesosUtils
|
2017-01-28 19:41:05 -05:00 |
|
Pradyumna Kaushik
|
581803c2f0
|
FirstFit and BinPacking with SortedOffers based on CPU.
|
2017-01-28 17:52:24 -05:00 |
|