memory management module of Namenode

2014-01-28 Thread Chetan Agrawal
I read that the namenode keeps all the metadata record in main memory right for fast access. I want to study the code where the namenode is instructed to do so i.e. to keep metadata record in main memory. where can i find the source code file for this namenode memory management? i am using githu

Re: memory management module of Namenode

2014-01-28 Thread Harsh J
Hi, The central class is FSNamesystem.java downwards. I'd advise drilling down from the NameNodeRpcServer sources at https://github.com/apache/hadoop-common/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java, for any client operat