apurtell opened a new pull request #2669:
URL: https://github.com/apache/hbase/pull/2669


   Network identities should be bound late. Remote addresses should be
   resolved at the last possible moment, just before connect(). Network
   identity mappings can change, so our code should not inappropriately
   cache them. Otherwise we might miss a change and fail to operate normally.
   
   Revert "HBASE-14544 Allow HConnectionImpl to not refresh the dns on errors"
   Removes hbase.resolve.hostnames.on.failure and related code. We always
   resolve hostnames, as late as possible.
   
   Preserve InetSocketAddress caching per RPC connection. Avoids potential
   lookups per Call.
   
   Replace InetSocketAddress with Address where used as a map key. If we want
   to key by hostname and/or resolved address we should be explicit about it.
   Using Address chooses mapping by hostname and port only.
   
   Add metrics for potential nameservice resolution attempts, whenever an
   InetSocketAddress is instantiated for connect; and metrics for failed
   resolution, whenever InetSocketAddress#isUnresolved on the new instance
   is true.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to