Tim Armstrong has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/16108 )

Change subject: IMPALA-9790: option to use resolved hostname everywhere
......................................................................

IMPALA-9790: option to use resolved hostname everywhere

This adds a flag --use_resolved_hostname, which replaces
--hostname with a resolved IP on startup. This is useful
for containerized environments where the hostname -> IP
mapping can be very dynamic.

This flag is used by default in the dockerized minicluster.

This also fixes a bug in the test code that incorrectly
identified command line flags. Specifically it only checked
the suffix, so it confused use_resolved_hostname and hostname.

Change-Id: I0d5cb9c68c60ce8dc838cde9dcf1c590017f5c9a
Reviewed-on: http://gerrit.cloudera.org:8080/16108
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Andrew Sherman <[email protected]>
---
M be/src/common/global-flags.cc
M be/src/common/init.cc
M docker/catalogd/Dockerfile
M docker/impalad_coord_exec/Dockerfile
M docker/impalad_coordinator/Dockerfile
M docker/impalad_executor/Dockerfile
M docker/statestored/Dockerfile
M tests/common/impala_cluster.py
8 files changed, 23 insertions(+), 6 deletions(-)

Approvals:
  Impala Public Jenkins: Verified
  Andrew Sherman: Looks good to me, approved

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I0d5cb9c68c60ce8dc838cde9dcf1c590017f5c9a
Gerrit-Change-Number: 16108
Gerrit-PatchSet: 3
Gerrit-Owner: Tim Armstrong <[email protected]>
Gerrit-Reviewer: Andrew Sherman <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>

Reply via email to