Skip to content

Retry presto.run with the alternative hostname

Neil Shah-Quinn (WMF) requested to merge presto_hostname into main

Created by: tullis

We are preparing to switch the kerberos principal used for the presto coordinator from an-coord1001.eqiad.wmnet to analytics-presto.eqiad.wmnet

The DNS hostname will also change and will be a CNAME alias for one of several coorinator candidates.

In order to avoid a breaking change in wmfdata-python, we will need to be able to support both of these hiostnames and principals for a short time. In order to do this we are adding a try/except mechanism to the presto.run method. If it fails to connect to the old name, it will try the new name.

The old name will be removed in due course, once the switch has been made.

Bug: T345482

Merge request reports