I went ahead and patched it here:

https://reviews.apache.org/r/11975/


On Mon, Jun 17, 2013 at 4:36 PM, Brenden Matthews <
[email protected]> wrote:

> Vinod,
>
> You can't `bind()' to an address that the network interface is not
> assigned.  Maybe there is another workaround?  I wouldn't know where to
> look.
>
> Either way, I think it's preferable to use DNS because it will map to the
> correct address regardless of whether you're in or out of the EC2 network.
>
>
> On Mon, Jun 17, 2013 at 3:16 PM, Charles Reiss <[email protected]> wrote:
>
>> On 6/17/13 15:05 , Vinod Kone wrote:
>> > Hey Brenden,
>> >
>> > Are you seeing issues, even when starting masters explicitly with "--ip"
>> > set to their public ips on EC2?
>> >
>> > I think a better way to solve this problem is for mesos/libprocess to
>> pick
>> > a public ip by default, when a host has multiple ips attached to it.
>> Have
>> > you looked into that?
>>
>> For everything but the webui, it's better to prefer the private IP because
>> Amazon charges for data transfer using the public IP.
>>
>> - Charles
>>
>> >
>> >
>> > On Mon, Jun 17, 2013 at 2:47 PM, Brenden Matthews <
>> > [email protected]> wrote:
>> >
>> >> Folks,
>> >>
>> >> I'd like to be able to make the master redirection in the web UI work
>> with
>> >> EC2, which has weird internal/external IP address issues.
>> >>
>> >> I was thinking about adding a hostname to the Master info message, and
>> >> adding that along with the libprocess PID into the ZooKeeper state in
>> >> detector.{cpp,hpp}.
>> >>
>> >> Any thoughts on this?  Are there any objections or concerns?  From
>> >> examining the code, I couldn't think of a better way to do this.
>> >>
>> >> Thanks!
>> >>
>> >> Brenden
>> >>
>> >
>>
>>
>

Reply via email to