mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Hindman <benjamin.hind...@gmail.com>
Subject mesos and ec2
Date Mon, 09 Dec 2013 20:06:36 GMT
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<https://issues.apache.org/jira/browse/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!

Thanks,

Ben.

Mime
View raw message