mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhou xing (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-3778) Replace Master/Slave Terminology Phase I - Add duplicate HTTP endpoints
Date Mon, 21 Mar 2016 07:15:25 GMT

    [ https://issues.apache.org/jira/browse/MESOS-3778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15203849#comment-15203849
] 

zhou xing commented on MESOS-3778:
----------------------------------

We took some investigation on this ticket and to change to use 'Agent' in endpoint seems include
the change of the following 3 aspects:

- change path prefix autocompletion: e.g. url {{/state}} is autocompleted as {{/slave(1)/state}},
which should be {{/agent(1)/state}}, where *agent* is inferred from process pid
- change endpoint that contains slave: e.g. {{/master/slaves}} endpoint need to be modified
to {{/master/agents}}
- change the fields of the endpoints that contain slave: e.g. {{/master/create-volumes}} requires
a parameter named {{slaveId}}, which needs to be changed to {{agentId}}

we are planning to submit 2 independent patches for #2 and #3, which duplicate current endpoint/fields
with no compatibility issue. Whereas #1 *REPLACES* current path prefix, which is going to
compromise compatibility.


> Replace Master/Slave Terminology Phase I - Add duplicate HTTP endpoints
> -----------------------------------------------------------------------
>
>                 Key: MESOS-3778
>                 URL: https://issues.apache.org/jira/browse/MESOS-3778
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Diana Arroyo
>            Assignee: zhou xing
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message