I was able to successfully build Mesos 0.9.0 on Ubuntu 12.04 LTS. I did the
following and I'm getting an error. However, when I point my browser to  *

http://0.0.0.0:8080/ I can see the master running.
*

*

1. Follow instructions here.

https://github.com/apache/mesos/blob/trunk/docs/Home.md

2. Start Master

using the following command

:~/mesos/mesos-0.9.0/bin$ ./mesos-master.sh

You get the following.

cloudlet@nebula:~/mesos/mesos-0.9.0/bin$ ./mesos-master.sh

I0401 15:45:02.326122  6880 logging.cpp:72] Logging to <stderr>

I0401 15:45:02.328384  6880 main.cpp:105] Build: 2013-04-01 15:28:20 by
cloudlet

I0401 15:45:02.328572  6880 main.cpp:106] Starting Mesos master

I0401 15:45:02.329002  6908 master.cpp:268] Master started on 127.0.1.1:5050

I0401 15:45:02.329222  6908 master.cpp:283] Master ID:
20130401154516842879-5050-6880

I0401 15:45:02.331140  6908 master.cpp:483] Elected as master!

I0401 15:45:02.356026  6919 webui_utils.cpp:45] Loading webui script at
'/home/cloudlet/mesos/mesos-0.9.0/src/webui/master/webui.py'

Bottle server starting up (using WSGIRefServer())...

Listening on http://0.0.0.0:8080/

Use Ctrl-C to quit.

Why the server listening on 0.0.0.0:8080 and not the default IP of the
machine?


3. Start the slave

:~/mesos/mesos-0.9.0/bin$ ./mesos-slave.sh --master=0.0.0.0:8080

4. Getting these errors as soon as I start the slave.

Exception happened during processing of request from ('127.0.0.1', 39337)

Traceback (most recent call last):

 File "/usr/lib/python2.7/SocketServer.py", line 284, in
_handle_request_noblock

   self.process_request(request, client_address)

 File "/usr/lib/python2.7/SocketServer.py", line 310, in process_request

   self.finish_request(request, client_address)

 File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request

   self.RequestHandlerClass(request, client_address, self)

 File "/usr/lib/python2.7/SocketServer.py", line 640, in __init__

   self.finish()

 File "/usr/lib/python2.7/SocketServer.py", line 693, in finish

   self.wfile.flush()

 File "/usr/lib/python2.7/socket.py", line 303, in flush

   self._sock.sendall(view[write_offset:write_offset+buffer_size])

error: [Errno 32] Broken pipe

*

Reply via email to