hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077400 - /hadoop/common/branches/branch-0.20-security-patches/src/webapps/job/jobtracker.jsp
Date Fri, 04 Mar 2011 04:11:10 GMT
Author: omalley
Date: Fri Mar  4 04:11:10 2011
New Revision: 1077400

URL: http://svn.apache.org/viewvc?rev=1077400&view=rev
Log:
commit b0cf5a77971160dc18861fc73b1dc190378b3dfd
Author: Arun C Murthy <acmurthy@apache.org>
Date:   Fri Apr 16 13:34:28 2010 -0700

    MAPREDUCE-1683. Fixed jobtracker web-ui to correctly display heap-usage.
    
    From: https://issues.apache.org/jira/secure/attachment/12441978/MAPREDUCE-1683_part2_yhadoop_20_10.patch
    
    +++ b/YAHOO-CHANGES.txt
    +    MAPREDUCE-1683. Fixed jobtracker web-ui to correctly display heap-usage.
    +    (acmurthy)
    +

Modified:
    hadoop/common/branches/branch-0.20-security-patches/src/webapps/job/jobtracker.jsp

Modified: hadoop/common/branches/branch-0.20-security-patches/src/webapps/job/jobtracker.jsp
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/webapps/job/jobtracker.jsp?rev=1077400&r1=1077399&r2=1077400&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/webapps/job/jobtracker.jsp (original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/webapps/job/jobtracker.jsp Fri
Mar  4 04:11:10 2011
@@ -105,7 +105,7 @@
 <b>Identifier:</b> <%= tracker.getTrackerIdentifier()%><br>     
           
                    
 <hr>
-<h2>Cluster Summary (Heap Size is <%= StringUtils.byteDesc(status.getUsedMemory())
%>/<%= StringUtils.byteDesc(status.getMaxMemory()) %>)</h2>
+<h2>Cluster Summary (Heap Size is <%= StringUtils.byteDesc(Runtime.getRuntime().totalMemory())
%>/<%= StringUtils.byteDesc(Runtime.getRuntime().maxMemory()) %>)</h2>
 <% 
  generateSummaryTable(out, metrics, tracker); 
 %>



Mime
View raw message