You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Attila Bukor (Code Review)" <ge...@cloudera.org> on 2020/04/01 09:24:34 UTC

[kudu-CR] [ranger] Use unique loopback for MiniRanger

Hello Kudu Jenkins, Andrew Wong, Adar Dembo, Grant Henke, Hao Hao, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/15625

to look at the new patch set (#2).

Change subject: [ranger] Use unique loopback for MiniRanger
......................................................................

[ranger] Use unique loopback for MiniRanger

Other services use a unique loopback address on Linux systems to avoid
conflicting ports. This patch changes Ranger and Postgres to use this
unique loopback as well. Unfortunately as Ranger starts up Tomcat
without specifying the bind address, it always listens to all
interfaces.  Because of this the unique loopback trick is not enough in
itself and the randomized port number is also used in this case.

Change-Id: Id8833bb149fb2410f4f140b8fb67b1039a2f90d0
---
M src/kudu/mini-cluster/external_mini_cluster.cc
M src/kudu/postgres/mini_postgres.cc
M src/kudu/postgres/mini_postgres.h
M src/kudu/ranger/mini_ranger.cc
M src/kudu/ranger/mini_ranger.h
M src/kudu/util/net/net_util-test.cc
M src/kudu/util/net/net_util.cc
M src/kudu/util/net/net_util.h
8 files changed, 44 insertions(+), 31 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/25/15625/2
-- 
To view, visit http://gerrit.cloudera.org:8080/15625
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id8833bb149fb2410f4f140b8fb67b1039a2f90d0
Gerrit-Change-Number: 15625
Gerrit-PatchSet: 2
Gerrit-Owner: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Hao Hao <ha...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)