Kishen Das created HIVE-23761:
---------------------------------

             Summary: Unsetting some keys from SessionState conf 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


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)

Reply via email to