Adar Dembo has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12474 )

Change subject: KUDU-1900: add loopback check and test
......................................................................


Patch Set 14:

(4 comments)

http://gerrit.cloudera.org:8080/#/c/12474/14/src/kudu/integration-tests/security-itest.cc
File src/kudu/integration-tests/security-itest.cc:

http://gerrit.cloudera.org:8080/#/c/12474/14/src/kudu/integration-tests/security-itest.cc@330
PS14, Line 330:   KUDU_RETURN_NOT_OK(GetLocalNetworks(&local_networks));
You can use just RETURN_NOT_OK; the KUDU_ prefix is only really intended for 
the C++ thirdparty client (to ensure that our macros are "namespaced" and won't 
collide with someone else's RETURN_NOT_OK).


http://gerrit.cloudera.org:8080/#/c/12474/14/src/kudu/util/net/net_util.h
File src/kudu/util/net/net_util.h:

http://gerrit.cloudera.org:8080/#/c/12474/14/src/kudu/util/net/net_util.h@96
PS14, Line 96: const
No need for const.


http://gerrit.cloudera.org:8080/#/c/12474/14/src/kudu/util/net/net_util.cc
File src/kudu/util/net/net_util.cc:

http://gerrit.cloudera.org:8080/#/c/12474/14/src/kudu/util/net/net_util.cc@311
PS14, Line 311: std::
Drop the std:: prefix.


http://gerrit.cloudera.org:8080/#/c/12474/10/src/kudu/util/net/socket.cc
File src/kudu/util/net/socket.cc:

http://gerrit.cloudera.org:8080/#/c/12474/10/src/kudu/util/net/socket.cc@304
PS10, Line 304:     return true;
> Do we need to further condition this local.IsAnyLocalAddress()? I'm guessin
Could you address this question?



--
To view, visit http://gerrit.cloudera.org:8080/12474
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3483a9729ddeeb7901e3738532a45b49e713208f
Gerrit-Change-Number: 12474
Gerrit-PatchSet: 14
Gerrit-Owner: Greg Solovyev <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Greg Solovyev <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 19 Feb 2019 18:38:37 +0000
Gerrit-HasComments: Yes

Reply via email to