[
https://issues.apache.org/jira/browse/MESOS-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14549136#comment-14549136
]
Zameer Manji commented on MESOS-2736:
-------------------------------------
I suggest providing an {{ip_addr}} field which publishes the ip address as a
string. The IPv4 address can be in the {{x.a.b.c}} format and IPv6 addresses
can follow [RFC5952|https://tools.ietf.org/html/rfc5952#section-4].
> 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
>
> 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)