hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4182) SecondaryNameNode leaks NameCache entries
Date Mon, 12 Nov 2012 22:25:14 GMT

    [ https://issues.apache.org/jira/browse/HDFS-4182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13495692#comment-13495692
] 

Todd Lipcon commented on HDFS-4182:
-----------------------------------

Seems like it might be enough to just re-initialize the NameCache in {{FSDirectory.reset()}},
and then ensure that after the image load is complete in the 2NN that we call {{NameCache.initialized()}}.
                
> SecondaryNameNode leaks NameCache entries
> -----------------------------------------
>
>                 Key: HDFS-4182
>                 URL: https://issues.apache.org/jira/browse/HDFS-4182
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.23.4, 3.0.0, 2.0.2-alpha
>            Reporter: Todd Lipcon
>            Priority: Critical
>
> We recently saw an issue where a 2NN ran out of memory, even though it had a relatively
small fsimage. When we looked at the heap dump, we saw that all of the memory had gone to
entries in the NameCache.
> It appears that the NameCache is staying in "initializing" mode forever, and therefore
a long running 2NN leaks entries.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message