[ https://issues.apache.org/jira/browse/OMID-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17808638#comment-17808638 ]
Istvan Toth commented on OMID-249: ---------------------------------- There is no supported way to get the socket information from Zookeeper. There are some testing only methods that could be used, but I'd rather avoid that. My next idea is just to parse the quorum String, and take the first thing that looks like a hotsname/address, open a socket, and check the outgoing IpAddr. > Remove default network interface logic > -------------------------------------- > > Key: OMID-249 > URL: https://issues.apache.org/jira/browse/OMID-249 > Project: Phoenix Omid > Issue Type: Improvement > Affects Versions: 1.1.0 > Reporter: Istvan Toth > Priority: Major > > NetworkUtils.getNetworkInterface() seems to be only used for determining the > host and port when registering TSO to ZK for HA. > We should get the TSO public IP from the ZK TCP connection on demand, and not > worry about the default network interface at all. -- This message was sent by Atlassian Jira (v8.20.10#820010)