On 2016/1/18 14:50, 陈强 wrote:
but wouldn't get the details of how much resources every framework owns,
as well as we wouldn't get the how much resource every role owns.
curl MASTER_IP:5050/roles |python -mjson.tool
{
"roles": [
{
"frameworks": [],
"name": "*",
"resources": {
"cpus": 0,
"disk": 0,
"mem": 0
},
"weight": 1.0
},
{
"frameworks": [
"2caebb14-161f-4941-b8ab-8990cef01ac0-0000"
],
"name": "busybox",
"resources": {
"cpus": 0,
"disk": 0,
"mem": 0
},
"weight": 1.0
},
{
"frameworks": [],
"name": "ubuntu",
"resources": {
"cpus": 0,
"disk": 0,
"mem": 0
},
"weight": 1.0
}
]
}
also you can try to get framework info by:
curl MASTER_IP:5050/frameworks |python -mjson.tool