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

zhou xing commented on MESOS-3782:
----------------------------------

[~klueska], here is a plan that we want to try:
1. Add a new program named {{mesos-agent}} in {{mesos/src/Makefile.am}} which 
has the similar make rules to {{mess-slave}}. This will generate a duplicate 
executable file named {{mesos-agent}} in {{mesos/build/.libs}} after {{make}} 
(or in {{/usr/local/sbin}} after {{make install}})

2. For the shell scripts in {{mesos/bin}} or {{mesos/src/deploy}}, firstly, we 
can rename them to use the word "agent", e.g. {{mesos-slave.sh}} to 
{{mesos-agent.sh}}; secondly, change the invocation of all the {{mesos-slave}} 
call to {{mesos-agent}} call in the shell scripts content.

3. Change the {{mesos/configure.ac}} and add symlink creation to create link 
files named like **mesos-slave.sh** to link them to the **mesos-agent.sh**. 

After step 3, there will be **mesos-slave.sh** and **mesos-agent.sh** in the 
{{mesos/build/bin}} folder at the same time, so use can both use 
{{mesos-slave.sh}} or {{mesos-agent.sh}} to start the slave node

> Replace Master/Slave Terminology Phase I - Add duplicate binaries (or create 
> symlinks)
> --------------------------------------------------------------------------------------
>
>                 Key: MESOS-3782
>                 URL: https://issues.apache.org/jira/browse/MESOS-3782
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Diana Arroyo
>            Assignee: zhou xing
>




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

Reply via email to