adoroszlai opened a new pull request #267: HDDS-2626. Avoid hostname lookup for 
invalid local IP addresses
URL: https://github.com/apache/hadoop-ozone/pull/267
 
 
   ## What changes were proposed in this pull request?
   
   Skip hostname lookup for invalid IP addresses of the local host in 
`OzoneSecurityUtil#getValidInetsForCurrentHost`.  This only affects the log 
message, not any functionality.
   
   https://issues.apache.org/jira/browse/HDDS-2626
   
   ## How was this patch tested?
   
   Previously:
   
   ```
   [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
142.699 s - in org.apache.hadoop.ozone.TestHddsSecureDatanodeInit
   [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
74.919 s - in org.apache.hadoop.ozone.TestSecureOzoneCluster
   ```
   
   After the change:
   
   ```
   [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.79 
s - in org.apache.hadoop.ozone.TestHddsSecureDatanodeInit
   [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
35.065 s - in org.apache.hadoop.ozone.TestSecureOzoneCluster
   ```
   
   CI is not improved, since it runs in a container without strange network 
interfaces:
   
   ```
   [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.158 
s - in org.apache.hadoop.ozone.TestHddsSecureDatanodeInit
   ```

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