[
https://issues.apache.org/jira/browse/IGNITE-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15625096#comment-15625096
]
Andrey Gura commented on IGNITE-3891:
-------------------------------------
Anyway, {{useHostname}} flag looks very weird for me. For example
{{TcpDiscoveryVmIpFinder}} uses both IPs and host names and doesn't introduce
any special flags.
In fact, the problem looks like environment configuration problem. I suggest
discuss this on user list for example before change code.
> 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)