[ 
https://issues.apache.org/jira/browse/SENTRY-835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15023409#comment-15023409
 ] 

Anne Yu commented on SENTRY-835:
--------------------------------

[~haohao], there might be a connection leak in the code so that after drop 
table is done, getNumActiveClients != 0; the correct behavior should be 
getNumActiveClients == 0. you might need to fix the leak bug then enable the 
test validation (i.e. getNumActiveClients == 0) 

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

Reply via email to