mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Torres <carlos.tor...@RACKSPACE.COM>
Subject Re: mesos and ec2
Date Mon, 09 Dec 2013 20:37:03 GMT

I'm on Rackspace, and had the same problem, where it was using the hostname, but since it's
not a public DNS hostname, it couldn't resolve the address. I solved it by essentially doing
the same thing as you recommend,
In my case I set /etc/hostname to the instance's public IPv4 address.


From: Benjamin Hindman <<>>
Reply-To: "<>" <<>>
Date: Monday, December 9, 2013 2:06 PM
To: dev <<>>, "<>"
Subject: mesos and ec2

If you don't use Mesos on EC2 then you can likely stop reading this email.

When using Mesos on EC2 you might notice that the web UI seems broken. The two things we know
about are:

(1) You can't use '/master/redirect' on a master because it attempts to send you to the private
IP hostname of the leading master (which obviously your browser can't connect to).

(2) You can't get information from the slaves (and thus, information about your tasks such
as file download/tailing) because your browser tries to connect to the slave's private hostname.

We're trying to architect a clean fix for (1) in MESOS-672<>.
Feel free to follow along and please add any suggestions. In the mean time, the best solution
that we know of is to modify /etc/hosts on the masters to resolve the public hostname from
the private IP.

For (2) you can set the --hostname flag on the slave to the public hostname. Within EC2 the
public hostname will resolve to the private IP address so you won't be paying extra traffic
fees but your browser will also be able to get the public IP address from the public hostname.

Of course, don't forget to set up your security groups to make sure the master and slave port(s)
are open (5050 and 5051 by default respectively).

We plan to make these fixes less of a manual process in the future and would love to hear
your suggestions!



View raw message