Alexey Serbin has submitted this change and it was merged.
Change subject: [net_util] fix reporting getaddrinfo() error
......................................................................
[net_util] fix reporting getaddrinfo() error
An example of error output:
on Linux, prior to this fix:
Network error: Unable to lookup FQDN: Success (error 0)
on Linux, after this fix:
Network error: unable to look up canonical hostname for \
localhost 'mega.turbo': Name or service not known
Change-Id: I2d5ba87b9ea050724367610461bae22c9471a103
Reviewed-on: http://gerrit.cloudera.org:8080/7368
Tested-by: Alexey Serbin <[email protected]>
Reviewed-by: Dan Burkert <[email protected]>
---
M src/kudu/util/net/net_util.cc
1 file changed, 44 insertions(+), 31 deletions(-)
Approvals:
Dan Burkert: Looks good to me, approved
Alexey Serbin: Verified
--
To view, visit http://gerrit.cloudera.org:8080/7368
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2d5ba87b9ea050724367610461bae22c9471a103
Gerrit-PatchSet: 5
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Edward Fancher <[email protected]>
Gerrit-Reviewer: Mike Percy <[email protected]>
Gerrit-Reviewer: Tidy Bot
Gerrit-Reviewer: Todd Lipcon <[email protected]>