You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ThriftHiveMetaStore code starts up a HiveMetastore which starts a Hive Thrift server. Hive doesn't provide any hooks to shut it down. So in our tests the started threads keep running even when interrupted. When you're running a junit test this means stuff isn't shutdown until you the actual test finishes.
Not entirely sure if this is causing issues for users (we've seen hanging tests but it is difficult to determine if this is causing it). We could experiment with starting the HiveMetastore as Process and kill the process when we are done with it. (similar to starting a metastore on the cli and shutting it down).
The text was updated successfully, but these errors were encountered:
patduin
changed the title
ThriftHiveMetaStoreCore is not closing the HiveMetastore
ThriftHiveMetaStoreCore is not closing the HiveMetastore when shutdown() is called.
Aug 9, 2019
patduin
changed the title
ThriftHiveMetaStoreCore is not closing the HiveMetastore when shutdown() is called.
ThriftHiveMetaStoreCore is not closing the HiveMetastore when shutdown() is called.
Aug 9, 2019
ThriftHiveMetaStore
code starts up a HiveMetastore which starts a Hive Thrift server. Hive doesn't provide any hooks to shut it down. So in our tests the started threads keep running even when interrupted. When you're running a junit test this means stuff isn't shutdown until you the actual test finishes.Not entirely sure if this is causing issues for users (we've seen hanging tests but it is difficult to determine if this is causing it). We could experiment with starting the HiveMetastore as
Process
and kill the process when we are done with it. (similar to starting a metastore on the cli and shutting it down).The text was updated successfully, but these errors were encountered: