[
https://issues.apache.org/jira/browse/HDFS-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John George resolved HDFS-307.
------------------------------
Resolution: Invalid
Fix Version/s: 0.23.0
0.22.0
This is fixed in trunk.
> Namenode GUI does not show actual memory usage
> ----------------------------------------------
>
> Key: HDFS-307
> URL: https://issues.apache.org/jira/browse/HDFS-307
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Qi Liu
> Assignee: John George
> Priority: Minor
> Fix For: 0.22.0, 0.23.0
>
> Attachments: a.patch
>
>
> In the namenode GUI, the showed memory usage is not the actual memory usage.
> Instead, it is the memory currently allocated to Java
> (Runtime.totalMemory()). That's why we see most of the time, the memory usage
> is 100%. This is a concern for operation, since this is the only page we can
> monitor the memory usage of a name node. Showing 100% makes the wrong
> impression that there is a memory leak in name node, and the name node needs
> to be restarted.
> The current value should show would be Runtime.totalMemory() -
> Runtime.freeMemory().
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira