You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Ajay Kumar (JIRA)" <ji...@apache.org> on 2018/01/03 18:34:00 UTC

[jira] [Assigned] (HDFS-12984) BlockPoolSlice can leak in a mini dfs cluster

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

Ajay Kumar reassigned HDFS-12984:
---------------------------------

    Assignee: Ajay Kumar

> BlockPoolSlice can leak in a mini dfs cluster
> ---------------------------------------------
>
>                 Key: HDFS-12984
>                 URL: https://issues.apache.org/jira/browse/HDFS-12984
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.7.5
>            Reporter: Robert Joseph Evans
>            Assignee: Ajay Kumar
>
> When running some unit tests for storm we found that we would occasionally get out of memory errors on the HDFS integration tests.
> When I got a heap dump I found that the ShutdownHookManager was full of BlockPoolSlice$1 instances.  Which hold a reference to the BlockPoolSlice which then in turn holds a reference to the DataNode etc....
> It looks like when shutdown is called on the BlockPoolSlice there is no way to remove the shut down hook in because no reference to it is saved.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org