Benjamin Mahler created MESOS-7025:
--------------------------------------
Summary: Update the operator endpoints for hierarchical roles in a
backwards compatible way.
Key: MESOS-7025
URL: https://issues.apache.org/jira/browse/MESOS-7025
Project: Mesos
Issue Type: Task
Components: agent, HTTP API, master
Reporter: Benjamin Mahler
When displaying roles in the endpoints, if the role can be translated back to
the old format (that is, the role does not contain any non-leading slash
characters), then we always translate this back to the old format.
This includes the metrics that contain role within the metric name. We will
file a JIRA ticket to ensure that in the 2.0 API we make the backwards
incompatible switch to show the format in the endpoints.
In a similar vein, if the operator sets role quota or weight using the old
format (e.g. “role”), this will be translated to set quota and weight both the
leaf and parent nodes in the new format (“/role/*” and “/role”).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)