-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17976/
-----------------------------------------------------------
(Updated Feb. 19, 2014, 11:10 a.m.)
Review request for mesos, Benjamin Hindman, Ben Mahler, and Vinod Kone.
Changes
-------
Updated static html and js to correctly use summarised resources.
Bugs: MESOS-692
https://issues.apache.org/jira/browse/MESOS-692
Repository: mesos-git
Description
-------
See summary.
old format of master/state.json:
{...
"slaves":[...
"resources":{"ports":"[31000-32000]"}}
...]
...}
new format:
{...
"slaves":[...
"resources":{"*":{"ports":"[31000-32000]"}}}
...]
...}
There is an assumption that there is each resource has a unique role. If this
is not the case (ie, if there are multiple resources with the role '*' a
warning is emitted. The solution for this is to correctly handle merging of
resources with the same role.
Diffs (updated)
-----
src/master/http.cpp 966eed6d8340038265ef799f1b6149502ccc606e
src/slave/http.cpp c4f598faf6807214608cc89a6d9cf665133f95f3
src/webui/master/static/framework.html
f6cce028867f527e49c647d39a481ffe6fe58328
src/webui/master/static/frameworks.html
8686b00eb0fca1c3102389cdc860ae8f2b46bd9f
src/webui/master/static/js/controllers.js
afb24fb9c2184772f7314162f5637dbabaa2ab94
src/webui/master/static/offers.html cc199352fcf2074dcd0e8d24bb49651b38c41d86
src/webui/master/static/slave.html 09bfcf29a700168938f4ec4fa42ca8383fa55511
src/webui/master/static/slave_executor.html
7c66405090f46f89bdd29806a58c05dc76c0ad23
Diff: https://reviews.apache.org/r/17976/diff/
Testing
-------
make check
Thanks,
Dominic Hamon