You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Raghu Angadi (JIRA)" <ji...@apache.org> on 2008/05/15 08:11:56 UTC

[jira] Commented: (HADOOP-3393) TestHDFSServerPorts fails on LINUX (NFS mounted directory) and on WINDOWS

    [ https://issues.apache.org/jira/browse/HADOOP-3393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597017#action_12597017 ] 

Raghu Angadi commented on HADOOP-3393:
--------------------------------------

+1. The fix looks good.

> TestHDFSServerPorts fails on LINUX (NFS mounted directory) and on WINDOWS
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-3393
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3393
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.18.0
>         Environment: LINUX, WINDOWS
>            Reporter: lohit vijayarenu
>             Fix For: 0.18.0
>
>         Attachments: HADOOP-HDFSServerPorts.patch
>
>
>  HADOOP-2656  changes the way BlockScanner and BlockScannerThread are created. TestHDFSServerPorts tries to create a DataNode object, but expects a failure while starting it. As part of creating DataNode object we create BlockScanner object but not its corresponding BlockScannerThread as Daemon. While in shutdown() we check if BlockScannerThread is not null, then call BlockScanner.shutdown() to close a reference to LogFile it holds.
> Now, on NFS mount and Windows, if a reference to file remains deleting the directory either leaves a .nfsXXXXX file or is not allowed (on windows). This was causing the test to fail. 

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