Thejas M Nair created HIVE-4625:
-----------------------------------
Summary: HS2 should not attempt to get delegation token from
metastore if using embedded metastore
Key: HIVE-4625
URL: https://issues.apache.org/jira/browse/HIVE-4625
Project: Hive
Issue Type: Bug
Components: HiveServer2
Affects Versions: 0.11.0
Reporter: Thejas M Nair
Hive server2 tries to get delegation token from metastore even if the metastore
is being used in embedded mode.
To avoid failure in that case, it uses catch block for
UnsupportedOperationException thrown that does nothing. But this leads to an
error being logged by lower levels and can mislead users into thinking that
there is a problem.
It should check if delegation token mode is supported with current
configuration before calling the function.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira