Posts: 7
Registered: ‎08-22-2018

Hostname test for Hive

We are migrating to new cluster. We established hostname switch using DNS forwarding.We wanted to have hostname testing for every service that we have so that users will use the same old hostnames to connect to new cluster.


Hostname testing for impala worked as expected when checked with impala-shell command. Currently, we are testing for hive.


HiveServer2 is running on <New_FQDN> in New Cluster. Mapped old server for this is different <Old_FQDN>


Beeline String is only working if we give new server principal name.


!connect jdbc:hive2://<Old_FQDN>:10000/default;principal=hive/<New_FQDN>@REALM


We are using Active Directory. How can we make this work with old server principal.