lirui-apache commented on issue #3750:
URL: https://github.com/apache/iceberg/issues/3750#issuecomment-995829922


   I tried deleting these folders with commons-io `FileUtils`, but then tests 
start to fail with metastore internal errors. I think it's because we didn't 
clean up some static fields in metastore between different tests.
   
   Such as the thread local TxnStore in HMSHandler: 
https://github.com/apache/hive/blob/rel/release-2.3.8/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java#L249
   
   and the connection pool in `TxnHandler`: 
https://github.com/apache/hive/blob/rel/release-2.3.8/metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java#L149


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to