[ https://issues.apache.org/jira/browse/HIVE-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13286096#comment-13286096 ]
Travis Crawford commented on HIVE-3057: --------------------------------------- Good suggestion. I posted this to https://reviews.facebook.net/D3447 but cross-posting does not seem to work right now. > metastore.HiveMetaStore$HMSHandler should set the thread local raw store to > null in shutdown() > ---------------------------------------------------------------------------------------------- > > Key: HIVE-3057 > URL: https://issues.apache.org/jira/browse/HIVE-3057 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 0.8.1, 0.9.0 > Reporter: Feng Peng > Assignee: Travis Crawford > > The shutdown() function of metastore.HiveMetaStore$HMSHandler does not set > the thread local RawStore variable (in threadLocalMS) to null. Subsequent > getMS() calls may get the wrong RawStore object. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira