122 resources.cpp:1134] Check failed: !resource.has_role() cpus:8

2018-09-26 Thread James Vanns
Hi! It's been a looonng time since I've asked a question on this list (several years) so excuse me if this is now the wrong forum! Anyway, basically, I've got an old Mesos framework I'm resurrecting and it was developed against 0.26.x, I think. For the sheer Hell of it I just upgraded Mesos to

Re: 122 resources.cpp:1134] Check failed: !resource.has_role() cpus:8

2018-09-26 Thread Joseph Wu
I believe what you are running into is a slight change in how we represent Resources. Older frameworks expect unreserved resources to look like this: > { > role: "*", > reservation: , > reservations: > } In 1.4.0, we started representing unreserved resources like: > { > role: , >