Michael Ho has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14388
Change subject: IMPALA-9026: Use resolved IP address for statestore subscriber ...................................................................... IMPALA-9026: Use resolved IP address for statestore subscriber This change adds a flag (FLAGS_statestore_subscriber_use_resolved_address) which, if set to true, allows statestore subscribers to use its resolved IP address instead of its hostname as the heartbeat address which statestore sends heartbeats / updates to. This flag is useful in certain deployment scenarios in which a pod may have an IP address but its DNS entry is not available for a valid reason (e.g. a Kubernetes pod whose readiness probe returns false). An example is that there are more than one instances of Impala coordinator but only one of them will be active at a time (for admission control reasons) and the rest will serve as backup. In which case, we want the backup coordinator to receive updates from statestore but not serve any queries until the primary coordinator fails. Change-Id: Ieb8302dec0e52beb9f0b88306a51c38ff42a63a2 --- M be/src/catalog/catalog-server.cc M be/src/runtime/exec-env.cc M be/src/statestore/statestore-subscriber.cc M tests/custom_cluster/test_custom_statestore.py 4 files changed, 33 insertions(+), 6 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/88/14388/1 -- To view, visit http://gerrit.cloudera.org:8080/14388 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ieb8302dec0e52beb9f0b88306a51c38ff42a63a2 Gerrit-Change-Number: 14388 Gerrit-PatchSet: 1 Gerrit-Owner: Michael Ho <k...@cloudera.com>