[
https://issues.apache.org/jira/browse/HDFS-5356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haosdent updated HDFS-5356:
---------------------------
Description: After add some metrics functions to DFSClient, I found that
some unit tests relates to metrics are failed. Because MiniDFSCluster are never
close open FileSystems, DFSClients are alive after MiniDFSCluster shutdown().
The metrics of DFSClients in DefaultMetricsSystem are still exist and this make
other unit tests failed.
> MiniDFSCluster shoud close all open FileSystems when shutdown()
> ---------------------------------------------------------------
>
> Key: HDFS-5356
> URL: https://issues.apache.org/jira/browse/HDFS-5356
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: haosdent
> Priority: Critical
>
> After add some metrics functions to DFSClient, I found that some unit tests
> relates to metrics are failed. Because MiniDFSCluster are never close open
> FileSystems, DFSClients are alive after MiniDFSCluster shutdown(). The
> metrics of DFSClients in DefaultMetricsSystem are still exist and this make
> other unit tests failed.
--
This message was sent by Atlassian JIRA
(v6.1#6144)