Hello! Why DFSClient in HA-cluster tries to resolve HA cluster name?
I have just been investigating a problem - FileSystem.get() method sometimes takes too long time to complete, about 2-3 seconds, and found that: 1. DFSClient makes call to NameNodeProxies.createProxy() 2. createProxy() method, in the "HA case", tries to resolve nameNodeUri to IP-address (even if it is a logical nameservice name). It wastes time. 3. In the returned object (of ProxyAndInfo<T> class), IP-address is used only in DFSAdmin tool (via call to "InetSocketAddress getAddress()" method). Best regards, Dmitrii Simonov.