HIVE-5155 introduced support for delegation token based connection. However, it was intended for tcp transport mode. We need to have similar mechanisms for http transport.
metastore get_delegation_token fails with null ip address
delegation tokens do not work with HS2 when used with http transport and kerberos
Support secure proxy user access to HiveServer2