[ 
https://issues.apache.org/jira/browse/HADOOP-4435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12640357#action_12640357
 ] 

dhruba borthakur commented on HADOOP-4435:
------------------------------------------

I propose to add the following two methods to ClusterSummary:

{code}
  /**
   * Get the total heap memory used by the <code>JobTracker</code>
   * 
   * @return the size of heap memory used by the <code>JobTracker</code>
   */
  public long getUsedMemory() {
    return used_memory;
  }

  /**
   * Get the maximum configured heap memory that can be used by the 
<code>JobTracker</code>
   * 
   * @return the configured size of max heap memory that can be used by the 
<code>JobTracker</code>
   */
  public long getMaxMemory() {
    return max_memory;
  }


{code}

> The JobTracker should display the amount of heap memory used
> ------------------------------------------------------------
>
>                 Key: HADOOP-4435
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4435
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>             Fix For: 0.19.0
>
>
> It would be nice to make the JobTracker UI display the amount of heap memory 
> currently in use. This is similar to the DFS UI that already displays the 
> amount if heap memory used by the NameNode.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to