Dan Burkert has submitted this change and it was merged. Change subject: KUDU-1988: add support for advertised host:port info. ......................................................................
KUDU-1988: add support for advertised host:port info. Prior to this change, it was difficult to deploy a Kudu cluster in containerized environments where each container has a unique, local subnetwork with an externally facing translation layer. In these scenarios the network address that the Kudu server binds to is not the externally-routable IP address. To overcome this, a set of new flags are introduced, '--rpc-advertised-addresses' and '--webserver-advertised-addresses' which allow administrators to override the set of addresses which the Kudu server gives to external servers and clients. Similar configurations are present in other distributed systems, for example, Kafka's advertised.host.name property. Change-Id: I6735ca5630fc4c426bf72d0b21d6ef452173a890 Reviewed-on: http://gerrit.cloudera.org:8080/6827 Reviewed-by: Adar Dembo <[email protected]> Tested-by: Kudu Jenkins --- M src/kudu/master/master.cc M src/kudu/server/CMakeLists.txt A src/kudu/server/rpc_server-test.cc M src/kudu/server/rpc_server.cc M src/kudu/server/rpc_server.h M src/kudu/server/webserver-test.cc M src/kudu/server/webserver.cc M src/kudu/server/webserver.h M src/kudu/server/webserver_options.cc M src/kudu/server/webserver_options.h M src/kudu/tserver/heartbeater.cc 11 files changed, 333 insertions(+), 13 deletions(-) Approvals: Adar Dembo: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/6827 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I6735ca5630fc4c426bf72d0b21d6ef452173a890 Gerrit-PatchSet: 14 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Patrik Sundberg <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Dan Burkert <[email protected]> Gerrit-Reviewer: Hao Hao <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Patrik Sundberg <[email protected]> Gerrit-Reviewer: Tidy Bot
