mukund-thakur edited a comment on issue #1955: HADOOP-13873 log DNS addresses 
on s3a init
URL: https://github.com/apache/hadoop/pull/1955#issuecomment-613464431
 
 
   > Try `NetUtils.getHostNameOfIP()`; it will convert UnknownHostException to 
null...everyone hates it when a debug log statement causes errors as then debug 
logging can make things worse
   
   This expects an IP and returns null in validation only if hostname is 
passed. So I figured NetUtils.normalizeHostName() is the one we are looking 
for. UnknownHostException will be ignored.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to