hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-880) TestNNLeaseRecovery fails on windows
Date Thu, 07 Jan 2010 22:04:54 GMT

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

Konstantin Shvachko commented on HDFS-880:

Looks like the problem is in {{TestNNLeaseRecovery.mockFileBlocks()}}. FSNamesystem constructor
creates FSImage, which opens image and edits files. Then {{mockFileBlocks()}} creates a mocked
{{FSDirectory}}, where FSImage is null, and assigns it to {{FSNamesystem.dir}}. Now when FSNamesystem
closes it will keep the original files open since it does not have access to them (the original
FSImage was replaced by null).
This does not effect the test in Unix, because it lets remove opened files. NTFS does not
allow it.

> TestNNLeaseRecovery fails on windows
> ------------------------------------
>                 Key: HDFS-880
>                 URL: https://issues.apache.org/jira/browse/HDFS-880
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>             Fix For: 0.21.0
>         Attachments: testNNLeaseRecovery.patch
> TestNNLeaseRecovery fails on windows trying to delete name-node storage directory.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message