drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Khurram Faraaz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-4257) Ensure shutting down a Drillbit also shuts down all StoragePlugins
Date Thu, 18 Feb 2016 08:34:18 GMT

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

Khurram Faraaz commented on DRILL-4257:
---------------------------------------

Do we have a unit test to verify this ?
Is there a way to verify this from the drillbit.log, that all StoragePlugins are also shut
down once a Drillbit is shut down ?




> Ensure shutting down a Drillbit also shuts down all StoragePlugins
> ------------------------------------------------------------------
>
>                 Key: DRILL-4257
>                 URL: https://issues.apache.org/jira/browse/DRILL-4257
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>            Reporter: Jacques Nadeau
>            Assignee: Jacques Nadeau
>             Fix For: 1.5.0
>
>
> Right now, if a StoragePlugin implementation relies on the close method to clean up resources,
those resources won't be cleaned up when the Drillbit class is shutdown. This is because Drillbit
doesn't actually close the StoragePluginRegistry and associated resources. This causes problems
in leaking resources in tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message