You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Kishen Das (Jira)" <ji...@apache.org> on 2020/06/24 23:10:00 UTC
[jira] [Updated] (HIVE-23761) Unsetting some keys from SessionState
conf object affects test cases
[ https://issues.apache.org/jira/browse/HIVE-23761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kishen Das updated HIVE-23761:
------------------------------
Summary: Unsetting some keys from SessionState conf object affects test cases (was: Unsetting some keys from SessionState conf affects test cases)
> Unsetting some keys from SessionState conf object affects test cases
> --------------------------------------------------------------------
>
> Key: HIVE-23761
> URL: https://issues.apache.org/jira/browse/HIVE-23761
> Project: Hive
> Issue Type: Task
> Components: HiveServer2
> Reporter: Kishen Das
> Priority: Major
>
> If we remove keys from the Session specific conf object
> For ex : SessionState.get().getConf().unset(key); in Driver.java within the
> releaseLocksAndCommitOrRollback method, it results in failure of certain test cases ( For ex : org.apache.hadoop.hive.ql.lockmgr.TestDbTxnManager2 and org.apache.hadoop.hive.ql.lockmgr.TestDbTxnManagerIsolationProperties ) that use multiple sessions. Looks like this should not be the case and we should ensure that conf objects are not shared across multiple sessions.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)