runzhiwang opened a new pull request #740: HDDS-3307. Improve write efficiency 
by avoiding reverse DNS lookup
URL: https://github.com/apache/hadoop-ozone/pull/740
 
 
   ## What changes were proposed in this pull request?
   
   **What's the problem ?**
   When create key, 
[getHostName()](https://github.com/apache/hadoop-ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/OMClientRequest.java#L130)
 by IP need reverse DNS lookup, cost about 15ms. It's also reported in 
[JDK-6450279](https://bugs.openjdk.java.net/browse/JDK-6450279)
   
   **How to fix ?**
   client getLocalHost().getHostName() and add it in request, server get 
hostname from request.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-3307
   
   ## How was this patch tested?
   
   Existed UT and IT.
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to