Mesos master
Service overview
| Software owner | Apache Software Foundation | |||
|---|---|---|---|---|
| System requirements | http://mesos.apache.org/ | |||
| Management | wfmanager (start \ | stop \ | restart \ | status) mesos-master |
| Log files | Access logs: <INSTALL_DIR>/supervisord/log/mesos-master.out.log Error logs: <INSTALL_DIR>/supervisord/log/mesos-master.err.log | |||
| Startup scripts | <INSTALL_DIR>/supervisord/apps/mesos-master.ini <INSTALL_DIR>/mesos/usr/sbin/mesos-master | |||
| Configuration files | Service directory: <INSTALL_DIR>/mesos/ General Mesos Master configuration: <INSTALL_DIR>/supervisord/apps/mesos-master.ini | |||
| 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-masterss 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- Access logs:
Check the mesos-master out (access) log using the wfmanager util:
wfmanager tail mesos-masterEnable more detailed debug information.
Set the debug log level to
<INSTALL_DIR>/supervisord/apps/mesos-master.iniand restart the mesos-master service:${install_dir}/supervisord/apps/mesos-master.iniAdd the following to the start-up configuration part of this file: --enable-debugwfmanager restart mesos-master