Hi Matei,
When i run mesos-master it starts properly and console shows:[bigdatalab@BLRCSLTBDV03 sbin]$ ./mesos-master --ip=10.129.146.13
I1009 23:41:30.909895 31698 main.cpp:115] Build: 2012-10-04 21:45:22 by bigdatalab
I1009 23:41:30.910416 31698 main.cpp:116] Starting Mesos master
I1009 23:41:30.910719 31701 master.cpp:303] Master started on
10.129.146.13:5050I1009 23:41:30.910820 31701 master.cpp:318] Master ID: 201210092341-227705098-5050-31698
W1009 23:41:30.911164 31702 master.cpp:78] No whitelist given. Advertising offers for all slaves
I1009 23:41:30.913694 31701 master.cpp:560] Elected as master!
I1009 23:41:30.950111 31704 webui.cpp:61] Loading webui script at '/home/bigdatalab/mesos/share/mesos/webui/master/webui.py'
Bottle server starting up (using WSGIRefServer())...
Listening on
http://0.0.0.0:8080/Use Ctrl-C to quit.
Similarly, when i run slave the console shows:[bigdatalab@BLRCSLTBDV02 sbin]$ ./mesos-slave --master=
10.129.146.13:5050 --ip=10.129.146.12
I1009 23:41:54.936717 11538 main.cpp:123] Creating "process" isolation module
I1009 23:41:54.937088 11538 main.cpp:131] Build: 2012-10-04 21:44:11 by bigdatalab
I1009 23:41:54.937139 11538 main.cpp:132] Starting Mesos slave
I1009 23:41:54.937572 11540 slave.cpp:162] Slave started on 1)@
10.129.146.12:58054I1009 23:41:54.937607 11540 slave.cpp:163] Slave resources: cpus=4; mem=14517; disk=164109
I1009 23:41:54.939043 11540 slave.cpp:353] New master detected at
mas...@10.129.146.13:5050I1009 23:41:54.941954 11542 slave.cpp:373] Registered with master; given slave ID 201210092341-227705098-5050-31698-0
I1009 23:41:54.942158 11542 gc.cpp:97] Scheduling /tmp/mesos/slaves/201210082101-227705098-5050-25738-0 for removal
I1009 23:41:54.942301 11542 gc.cpp:97] Scheduling /tmp/mesos/slaves/201210082105-227705098-5050-25958-1 for removal
I1009 23:41:54.960240 11544 webui.cpp:61] Loading webui script at '/home/bigdatalab/mesos/share/mesos/webui/slave/webui.py'
Bottle server starting up (using WSGIRefServer())...
Listening on
http://0.0.0.0:8081/Use Ctrl-C to quit.
After running slave the console on the master node shows:I1010 00:38:20.669260 31702 hierarchical_allocator_process.hpp:543] Performed allocation for
1 slaves in 13.33us
I1010 00:38:21.670289 31702 hierarchical_allocator_process.hpp:543] Performed allocation for
1 slaves in 14.58us
But when i try to see web ui of master and slave it shows 500 error:Error 500: Internal Server Error
Sorry, the requested URL
http://10.129.146.12:8081/ caused an error:
Unhandled exception
Exception:
IOError('socket error', error(111, 'Connection refused'))
Traceback:
Traceback (most recent call last):
File "/home/bigdatalab/mesos/share/mesos/webui/bottle-0.8.3/bottle.py", line 499, in handle
return handler(**args)
File "/home/bigdatalab/mesos/share/mesos/webui/slave/webui.py", line 61, in index
slave_port = slave_port, log_dir = log_dir)
File "/home/bigdatalab/mesos/share/mesos/webui/bottle-0.8.3/bottle.py", line 1796, in template
return TEMPLATES[tpl].render(**kwargs)
File "/home/bigdatalab/mesos/share/mesos/webui/bottle-0.8.3/bottle.py", line 1775, in render
self.execute(stdout, **args)
Error 500: Internal Server Error
Sorry, the requested URL
http://10.129.146.13:8080/ caused an error:
Unhandled exception
Exception:
IOError('socket error', error(111, 'Connection refused'))
Traceback:
Traceback (most recent call last):
File "/home/bigdatalab/mesos/share/mesos/webui/bottle-0.8.3/bottle.py", line 499, in handle
return handler(**args)
File "/home/bigdatalab/mesos/share/mesos/webui/master/webui.py", line 51, in index
return template("index", master_port = master_port, log_dir = log_dir)
File "/home/bigdatalab/mesos/share/mesos/webui/bottle-0.8.3/bottle.py", line 1796, in template
return TEMPLATES[tpl].render(**kwargs)
File "/home/bigdatalab/mesos/share/mesos/webui/bottle-0.8.3/bottle.py", line 1775, in rende
Hope now it would be clear where I am going wrong.
Thanks,
Tushar