[ https://issues.apache.org/jira/browse/SENTRY-835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15025609#comment-15025609 ]
Hao Hao commented on SENTRY-835: -------------------------------- Found the issue is that the connection is not properly closed after drop table/database event occurs on metastore. Uploaded the patch and modifies the test. > Drop table leaves a connection open when using metastorelistener > ---------------------------------------------------------------- > > Key: SENTRY-835 > URL: https://issues.apache.org/jira/browse/SENTRY-835 > Project: Sentry > Issue Type: Bug > Affects Versions: 1.5.1 > Reporter: Anne Yu > Assignee: Hao Hao > Attachments: SENTRY-835.001.patch, SENTRY-835.test.patch > > > Notice if turn on setMetastoreListener (=true) on create and drop > (database/table) getNumActiveClients won't equal to 0; > Also occasionally there will be test failure caused by getNumActiveClients != > 0, need to investigate more, maybe there are active clients not property > closed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)