Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ThriftHiveMetaStoreCore is not closing the HiveMetastore when shutdown() is called. #26

Open
patduin opened this issue Aug 9, 2019 · 0 comments

Comments

@patduin
Copy link
Contributor

patduin commented 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).

@patduin patduin changed the title ThriftHiveMetaStoreCore is not closing the HiveMetastore ThriftHiveMetaStoreCore is not closing the HiveMetastore when shutdown() is called. Aug 9, 2019
@patduin 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant