hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-880) TestNNLeaseRecovery fails on windows
Date Fri, 08 Jan 2010 06:57:06 GMT

     [ https://issues.apache.org/jira/browse/HDFS-880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Konstantin Boudnik updated HDFS-880:
------------------------------------

    Attachment: HDFS-880.patch

The updated version of Konstantin's patch does make sure that there's no unclosed instance
of FSDirectory is laying around: I'm simply closing it before the change of the reference.

The reason why it has to be a mocked reference to FSDirectory is that mocked INodeFileUnderConstruction
has to be returned for the purpose having properly set blocks and so on. 

In fact, with having _real_ FSDirectory's instance being properly closed the whole business
of removing the {{NAME_DIR}} isn't needed any more, but I'll leave for a sanity sake.

> 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: HDFS-880.patch, 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.


Mime
View raw message