You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "John Watson (JIRA)" <ji...@apache.org> on 2016/11/01 02:12:58 UTC
[jira] [Comment Edited] (IGNITE-3891) Enable writing hostname,
rather than ipaddress for zookeeper discovery
[ https://issues.apache.org/jira/browse/IGNITE-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15624062#comment-15624062 ]
John Watson edited comment on IGNITE-3891 at 11/1/16 2:12 AM:
--------------------------------------------------------------
Hm. In this case, I'm not sure it will. We *do* know the external hostname of the docker host, but we do not know its external IP address. AddressResolver requires knowing the external IP address, doesn't it?
was (Author: jwatsonnr):
Hm. In this case, I'm not sure it will. We *do* know the external hostname of the docker host, but we do now know its external IP address. AddressResolver requires knowing the external IP address, doesn't it?
> Enable writing hostname, rather than ipaddress for zookeeper discovery
> ----------------------------------------------------------------------
>
> Key: IGNITE-3891
> URL: https://issues.apache.org/jira/browse/IGNITE-3891
> Project: Ignite
> Issue Type: Improvement
> Components: ignite-zookeeper
> Affects Versions: 1.7
> Environment: docker
> Reporter: John Watson
> Assignee: Roman Shtykh
>
> We are using ignite in docker, with zookeeper discovery. We need to be able to use the hostname, rather than the ip address, since the container-visible ip address is not externally usable.
> We would like an option in the TcpDiscoveryZookeeperIpFinder to use the hostname, rather than ipaddress. This change would impact line 231, where currently the ip address is being written. We suggest adding an option to the class to use the hostname, rather than the ip address.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)