[ https://issues.apache.org/jira/browse/HIVE-6427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrey Stepachev updated HIVE-6427: ----------------------------------- Status: Patch Available (was: Open) I make a patch against cloudera branch cdh5-0.12.0_5.0.0b2 which somehow solves that problem. It is copy&paste of RetryingMetaStoreClient initialisation. Also, for properly working proxy code I've removed unnecessary exception mangling. > 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 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. -- This message was sent by Atlassian JIRA (v6.1.5#6160)