Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
Description
Seems we have some issues with HiveConf within Hive class. We are trying to compare the current conf against the saved conf within local thread Hive. If it's changed, then we need to recreate HMS client to pass the new conf to the HMS.
While in some places, we are passing a reference of conf to Hive object and then updating conf and comparing will not trigger the creation of new HMS Client since it's the same conf object.
And also we are setting db.getConf().set() in QTestUtils.java, but actually it may not work as expected since a HMS client may already exist.