Currently, statestore subscribers currently register with statestore using their hostnames. There may be 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 could be that there could be more than one instances of an Impala component (e.g. coordinator) but only one of them will be active at a time and the rest will serve as backup. In which case, we still want the backup coordinator to receive any updates from statestore but not serve any queries until the primary coordinator fails.
To handle the case above, we may allow statestore subscribers to register with statestore using its IP address instead of hostname. This may not work with some existing secure deployment in which TLS is enabled between Impala hosts as there may be mismatch between the hostname used at Thrift layer and the certificate so this option is disabled by default.