-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17573/#review33373
-----------------------------------------------------------

Ship it!



src/master/master.cpp
<https://reviews.apache.org/r/17573/#comment62832>

    Would be nice to move os::hostname into net:: and consolidate the two 
functions, maybe like:
    
    Try<string> net::hostname(Option<uint32_t> ip = None());
    
    Up to you.



src/master/master.cpp
<https://reviews.apache.org/r/17573/#comment62833>

    Would be nice to move os::hostname into net:: and consolidate the two 
functions, maybe like:
    
    Try<string> net::hostname(Option<uint32_t> ip = None());
    
    Up to you.


- Ben Mahler


On Jan. 31, 2014, 12:55 a.m., Vinod Kone wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17573/
> -----------------------------------------------------------
> 
> (Updated Jan. 31, 2014, 12:55 a.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Brenden Matthews, Niklas Nielsen, 
> and Jiang Yan Xu.
> 
> 
> Bugs: MESOS-672
>     https://issues.apache.org/jira/browse/MESOS-672
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This is part 3.
> 
> This changes the semantics of how the default hostname is calculated. When no 
> hostname flag is provided we utilize the libprocess ip to get the hostname 
> (net::getHostname()) instead of os::hostname(). I think this is more 
> appropriate.
> 
> Now when the user selects 
>   --ip=127.0.0.1 , default hostname is "localhost" instead of the public 
> hostname of the machine.
>   --ip=public ip, default hostname is "public hostname"
>   doesn't specifically set ip, hostname is "public hostname"
> 
> Note that --hostname flag overrides the hostname.
> 
> 
> Diffs
> -----
> 
>   src/master/master.cpp 77872ece66601043ddeb280cceba5a7676e8a6be 
>   src/slave/slave.cpp a97b1d531d05e63e8ebaa474f526c110f5d573d4 
> 
> Diff: https://reviews.apache.org/r/17573/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Vinod Kone
> 
>

Reply via email to