[
https://issues.apache.org/jira/browse/HIVE-15950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eugene Koifman updated HIVE-15950:
----------------------------------
Resolution: Fixed
Fix Version/s: 2.2.0
Status: Resolved (was: Patch Available)
committed to master
thanks Vaibhav for the review
> Make DbTxnManager use Metastore client consistently with callers
> ----------------------------------------------------------------
>
> Key: HIVE-15950
> URL: https://issues.apache.org/jira/browse/HIVE-15950
> Project: Hive
> Issue Type: Bug
> Components: Transactions
> Reporter: Eugene Koifman
> Assignee: Eugene Koifman
> Fix For: 2.2.0
>
> Attachments: HIVE-15950.01.patch, HIVE-15950.02.patch
>
>
> Currently it caches IMetastoreClient on init() but the same connection is
> indirectly saved using ThreadLocal (since Hive.get() uses ThreadLocal).
> So it may cause something other than DbTxnManager to use the same connection.
> It needs to use the same Metastore client as the caller
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)