[ https://issues.apache.org/jira/browse/HDFS-1114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-1114: ----------------------------------------- Status: Open (was: Patch Available) Thanks for the detail review, Suresh. 1. BlocksMap.java done. 2. LightWeightGSet.java done all except the follwoing. * remove() - for better readability ... Implicit else is better the explicit else? 3. TestGSet.java * In exception tests, ... Catching specific exceptions but I did not change the messages. * println should use Log.info instead of System.out.println? No, print(..) and println(..) work together. * add some comments to ... * add some comments to ... * add comments to ... Added more some comments. > Reducing NameNode memory usage by an alternate hash table > --------------------------------------------------------- > > Key: HDFS-1114 > URL: https://issues.apache.org/jira/browse/HDFS-1114 > Project: Hadoop HDFS > Issue Type: Improvement > Components: name-node > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Attachments: GSet20100525.pdf, gset20100608.pdf, > h1114_20100607.patch, h1114_20100614b.patch, h1114_20100615.patch, > h1114_20100616b.patch > > > NameNode uses a java.util.HashMap to store BlockInfo objects. When there are > many blocks in HDFS, this map uses a lot of memory in the NameNode. We may > optimize the memory usage by a light weight hash table implementation. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.