[ 
https://issues.apache.org/jira/browse/MESOS-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14635741#comment-14635741
 ] 

Marco Massenzio commented on MESOS-2736:
----------------------------------------

We have added the {{version}} field to {{MasterInfo}}:
{noformat}
commit b5ba769c6619ba878d60c1bad1b5dfbafa71360b
Author: Marco Massenzio <[email protected]>
Date:   Wed Jul 1 15:21:17 2015 -0700

    Added `version` string to MasterInfo.
    
    Jira: MESOS-2957
    
    Adds an optional version string to the `MasterInfo` protobuf,
    to simplify handling versioning in HTTP API calls.
    
    The version string is taken from <mesos/version.hpp> which is the
    same used when starting up Master (master/main.cpp).
    
    I've added a simple test on the back of the `MasterDetector` test,
    as this was the place where we would expect the `MasterInfo` to
    have been fully populated by real production code (as opposed to
    other places, where it is actually handled by mocks).
    
    Review: https://reviews.apache.org/r/36036

{noformat}

> Upgrade the design of MasterInfo
> --------------------------------
>
>                 Key: MESOS-2736
>                 URL: https://issues.apache.org/jira/browse/MESOS-2736
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Marco Massenzio
>            Assignee: Marco Massenzio
>              Labels: mesosphere
>
> Currently, the {{MasterInfo}} PB only supports an {{ip}} field as an 
> {{int32}}.
> Beyond making it harder (and opaque; open to subtle bugs) for languages other 
> than C/C++ to decode into an IPv4 octets, this does not allow Mesos to 
> support IPv6 Master nodes.
> We should consider ways to upgrade it in ways that permit us to support both 
> IPv4 / IPv6 nodes, and, possibly, in a way that makes it easy for languages 
> such as Java/Python that already have PB support, so could easily deserialize 
> this information.
> See also MESOS-2709 for more info.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to