Mesos master
Service overview
| Software owner | Apache Software Foundation |
|---|---|
| System requirements | |
| Management | wfmanager (start | stop | restart | status) mesos-master |
| Log files | Access logs: <INSTALL_DIR>/supervisord/log/mesos-master.out.log |
| Startup scripts | <INSTALL_DIR>/supervisord/apps/mesos-master.ini <INSTALL_DIR>/mesos/usr/sbin/mesos-master |
| Configuration files | Service directory: <INSTALL_DIR>/mesos/ |
| Default Ports | tcp 5050 |
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-master_port | 5050 | Default service port for installation |
Troubleshooting
Check if TCP port 5050 is available
netstat command output
$ netstat -lntp | grep 5050
tcp 0 0 0.0.0.0:5050 0.0.0.0:* LISTEN 21674/mesos-master
ss command output
$ ss -ltn | egrep 5050
LISTEN 0 65535 *:5050 *:*
lsof command output
$ lsof -P -n -i :5050 | grep LISTEN
mesos-mas 21674 wfuser 6u IPv4 74892366 0t0 TCP *:5050 (LISTEN)
Check the default main log files
Access logs: <INSTALL_DIR>/supervisord/log/mesos-master.out.log
Error logs: <INSTALL_DIR>/supervisord/log/mesos-master.err.log
$ tail -f <INSTALL_DIR>/supervisord/log/mesos-master.err.log <INSTALL_DIR>/supervisord/log/mesos-master.out.log
Check mesos-master out (access) log using Wfmanager util
wfmanager tail mesos-master
Enable more detailed debug information
Set the debug log level to <INSTALL_DIR>/supervisord/apps/mesos-master.ini and restart mesos-master service:
${install_dir}/supervisord/apps/mesos-master.ini
Add the following to the start-up configuration part of this file:
--enable-debug
wfmanager restart mesos-master