Todd Lipcon has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/15665 )
Change subject: util: remove duplicate results from DNS resolution ...................................................................... util: remove duplicate results from DNS resolution On some systems it seems that our DNS resolution code can end up yielding multiple copies of the same address. That would produce annoying log messages like: $ kudu table list localhost W0404 20:35:05.511526 31378 client-internal.cc:597] Specified master server address 'localhost' resolved to multiple IPs. Using 127.0.0.1:7051 This patch ensures that any given address is only appended to the result vector once. Change-Id: I7d9b9f9839a899d8022f5ac6496555ff84583192 Reviewed-on: http://gerrit.cloudera.org:8080/15665 Reviewed-by: Adar Dembo <a...@cloudera.com> Reviewed-by: Alexey Serbin <aser...@cloudera.com> Tested-by: Kudu Jenkins --- M src/kudu/util/net/net_util.cc 1 file changed, 8 insertions(+), 1 deletion(-) Approvals: Adar Dembo: Looks good to me, approved Alexey Serbin: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/15665 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I7d9b9f9839a899d8022f5ac6496555ff84583192 Gerrit-Change-Number: 15665 Gerrit-PatchSet: 2 Gerrit-Owner: Todd Lipcon <t...@apache.org> Gerrit-Reviewer: Adar Dembo <a...@cloudera.com> Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Todd Lipcon <t...@apache.org>