Andrey Stepachev created HIVE-6427:
--------------------------------------
Summary: Hive Server2 should reopen Metastore client in case of
any Thrift exceptions
Key: HIVE-6427
URL: https://issues.apache.org/jira/browse/HIVE-6427
Project: Hive
Issue Type: Bug
Components: HiveServer2
Affects Versions: 0.12.0
Environment: cloudera cdh5 beta2
Reporter: Andrey Stepachev
Priority: Critical
In case of metastore restart hive server doesn't reopen connection to
metastore. Any command gives broken pipe or similar exceptions.
http://paste.ubuntu.com/6926215/
Any other subsequent requests doesn't reestablish connection and try to use
stale (closed) connection.
Looks like we shouldn't blindly convert any MetaException to HiveSQLException,
but should distiguish fatal exceptoins and logical exceptions.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)