[
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.