Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.21.0
-
Centos 6.5 / Centos 6.6
Description
fetching status for a slave from the /state.json yields
"resources":
{ "ports": "[31000-32000]", "mem": 512, "disk": 33659, "cpus": 1 }but in the flags section, it lists
"flags": {
"resources": "cpus:1;mem:512;ports:[31000-32000];set:
;range:[0-1000];scalar:108;numbers:
{4,8,15,16,23,42}",
}
so there are additional resources. these resources show up when sending offers from that slave to the frameworks and the frameworks can use and consume them.
This may just be a reporting issue with the state.json endpoint.
https://gist.github.com/hgschmie/0dc4f599bb0ff2e815ed is the full response.