hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5356) MiniDFSCluster shoud close all open FileSystems when shutdown()
Date Wed, 11 Mar 2015 09:26:39 GMT

    [ https://issues.apache.org/jira/browse/HDFS-5356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14356522#comment-14356522

Rakesh R commented on HDFS-5356:

Thanks a lot [~vinayrpet] for the comments.

bq. Changes in TestRenameWithSnapshots.java are not at all required as hdfs is re-initialized
everytime cluster is restarted. Let it close the FS during shutdown.
I could see {{TestRenameWithSnapshots#testAppendFileAfterRenameInSnapshot}} is failing in
my environment and with my changes in {{TestRenameWithSnapshots.java}} this  is passing. Could
you run and see the result.

> 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
>          Components: test
>    Affects Versions: 3.0.0, 2.2.0
>            Reporter: haosdent
>            Assignee: Rakesh R
>            Priority: Critical
>         Attachments: HDFS-5356-1.patch, HDFS-5356-2.patch, HDFS-5356-3.patch, HDFS-5356-4.patch,
> 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

View raw message