You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Sanchay Javeria <ja...@illinois.edu> on 2018/08/01 08:32:05 UTC

How to set up CNAME for MySQL connection

Hi folks,

To mitigate downtime during fail overs of the SQL hosts, I was wondering if
I could put a CNAME for the MySQL host machine in `hive_site.xml`. Such
that I can later change where the CNAME points to without having to change
the config file again. Would someone be able to help on how this is done?
Specifically, how to setup a CNAME and let the Hive Metastore know about
it?

Thank you!