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

James Taylor commented on PHOENIX-1109:
---------------------------------------

We should still call services.close(), even if it's a noop as it may not be 
down the road. Then in another finally block we can shutdown the executor. Also 
probably best if we track when it's closed and throw if it's attempted to be 
used again, as once the executor is shutdown, the driver can no longer be used.

> PhoenixTestDriver needs to call shutdown on executor 
> -----------------------------------------------------
>
>                 Key: PHOENIX-1109
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1109
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.0.0, 5.0.0, 3.1
>            Reporter: Samarth Jain
>            Assignee: Samarth Jain
>         Attachments: PHOENIX-1099_master.patch, PHOENIX-1109_master.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to