Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
0.12.0
-
None
-
None
Description
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 subsequent command doesn't reestablish connection and tries to use stale (closed) connection.
Looks like we shouldn't blindly convert any MetaException to HiveSQLException, but should distinguish between fatal exceptions and logical exceptions.