Hi Pascal, This isn't possible directly with the SchedulerDriver, but your scheduler could use the 'GET_ROLES' call of the operator API [1] for this purpose.
Cheers, Greg [1] http://mesos.apache.org/documentation/latest/operator-http-api/#get_roles On Sat, May 5, 2018 at 3:37 AM, Pascal Gillet <[email protected]> wrote: > Hi All, > > Is it possible to get all the roles, specifically weighted roles, declared > in the Mesos master from a SchedulerDriver in Java? > > Thanks > > Pascal GILLET >

