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 "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2007/03/23 21:52:32 UTC

[jira] Commented: (HADOOP-1063) MiniDFSCluster exists a race condition that lead to data node resources are not properly released

    [ https://issues.apache.org/jira/browse/HADOOP-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12483745 ] 

Konstantin Shvachko commented on HADOOP-1063:
---------------------------------------------

I'm getting a NullPointerException in MiniDFSCluster.DataNodeRunner.run()
        node.shutdown();
because node is null. Should it be just
        shutdown();


> MiniDFSCluster exists a race condition that lead to data node resources are not properly released
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-1063
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1063
>             Project: Hadoop
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.12.0
>            Reporter: Hairong Kuang
>         Assigned To: Hairong Kuang
>             Fix For: 0.13.0
>
>         Attachments: miniDFSCluster.patch
>
>
> In MiniDFSCluster, there is a possibility that a data node gets shutted down before it is constructed. This leads to the situation that the data node's resources are not properly released. In Cygwin I observe that the data node directory is still kept locked after a miniDFSCluster is shut down.

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