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 "Andrew Wang (JIRA)" <ji...@apache.org> on 2013/10/16 19:11:44 UTC
[jira] [Commented] (HDFS-5369) Support negative caching of
user-group mapping
[ https://issues.apache.org/jira/browse/HDFS-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13797004#comment-13797004 ]
Andrew Wang commented on HDFS-5369:
-----------------------------------
I saw some discussion about negative-caching in HADOOP-8088, where the conclusion was that other services on the NN host perform caching, preventing expensive RTTs to do an LDAP lookup. However, ~450 shell calls per second is expensive even if the result is cached, and even with JNI it still seems like unnecessary overhead.
> Support negative caching of user-group mapping
> ----------------------------------------------
>
> Key: HDFS-5369
> URL: https://issues.apache.org/jira/browse/HDFS-5369
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Affects Versions: 2.2.0
> Reporter: Andrew Wang
>
> We've seen a situation at a couple of our customers where interactions from an unknown user leads to a high-rate of group mapping calls. In one case, this was happening at a rate of 450 calls per second with the shell-based group mapping, enough to severely impact overall namenode performance and also leading to large amounts of log spam (prints a stack trace each time).
> Let's consider negative caching of group mapping, as well as quashing the rate of this log message.
--
This message was sent by Atlassian JIRA
(v6.1#6144)