[
https://issues.apache.org/jira/browse/HADOOP-19963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jose Luis López updated HADOOP-19963:
-------------------------------------
Status: Patch Available (was: Open)
> Shut down leaked mini-cluster instances in hadoop-distcp and hadoop-streaming
> ------------------------------------------------------------------------------
>
> Key: HADOOP-19963
> URL: https://issues.apache.org/jira/browse/HADOOP-19963
> Project: Hadoop Common
> Issue Type: Test
> Reporter: Jose Luis López
> Priority: Minor
> Labels: pull-request-available
>
> Part of the mini-cluster leak scan recorded in HDFS-17957, which covers
> hadoop-hdfs-project only. I discovered the following in the HADOOP common
> project:
>
> * TestCopyMapper holds a cluster in a field with no teardown in the class or
> its ancestors.
> * TestMultipleArchiveFiles holds two, dfs and mr, with no teardown.
>
> Impact: a leaked cluster keeps threads, heap and ports alive under the
> remaining tests of the class.
>
> The fixes are mechanical teardown methods. Test-scope only; no production code
> is touched.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]