Mesos slave
Service overview
| Software owner | Apache Software Foundation |
|---|---|
| System requirements | |
| Management | wfmanager (start | stop | restart | status) mesos-slave |
| Log files | Access logs: |
| Startup scripts | <INSTALL_DIR>/supervisord/apps/mesos-slave.ini<INSTALL_DIR>/mesos/usr/sbin/mesos-slave |
| Configuration files | Service directory: |
| Default Ports | tcp 5051 |
Default parameters
| Configuration file | Name | Default value | Description |
|---|---|---|---|
config.yml | install_dir | /opt/workfusion | Directory to put user files, logs, and configs |
config.yml | mesos_slave_port | 5051 | Default service port for installation |
Troubleshooting
Check if TCP port 5051 is available.
netstat command output
$ netstat -lntp | grep 5051 tcp 0 0 0.0.0.0:5051 0.0.0.0:* LISTEN 6205/mesos-slavess command output
$ ss -ltn | egrep 5051 LISTEN 0 65535 *:5051 *:*lsof command output
$ lsof -P -n -i :5051 | grep LISTEN mesos-sla 6205 wfuser 6u IPv4 3656625 0t0 TCP *:5051 (LISTEN)Check the default main log files:
- Access logs:
<INSTALL_DIR>/supervisord/log/mesos-slave.out.log - Error logs:
<INSTALL_DIR>/supervisord/log/mesos-slave.err.log
$ tail -f <INSTALL_DIR>/supervisord/log/mesos-slave.err.log <INSTALL_DIR>/supervisord/log/mesos-slave.out.log- Access logs:
Check mesos-slave out (access) log using the wfmanager util.
wfmanager tail mesos-slaveEnable more detailed debug information.
Set the debug log level to
<INSTALL_DIR>/supervisord/apps/mesos-slave.iniand restart the mesos-slave service:${install_dir}/supervisord/apps/mesos-slave.iniAdd the following to the start-up configuration part of this file: --enable-debugwfmanager restart mesos-slave