You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ji...@apache.org on 2012/05/17 04:30:17 UTC

svn commit: r1339446 - in /incubator/ambari/branches/ambari-186: CHANGES.txt mon_dashboard/src/ui/js/common.js

Author: jitendra
Date: Thu May 17 02:30:17 2012
New Revision: 1339446

URL: http://svn.apache.org/viewvc?rev=1339446&view=rev
Log:
AMBARI-239. HDFS utilization pie chart shows gray / HDFS down while HDFS is up and running. Contributed by Vitthal Gogate.


Modified:
    incubator/ambari/branches/ambari-186/CHANGES.txt
    incubator/ambari/branches/ambari-186/mon_dashboard/src/ui/js/common.js

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1339446&r1=1339445&r2=1339446&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Thu May 17 02:30:17 2012
@@ -1,6 +1,10 @@
 Ambari Change log
 
 Release 0.x.x - unreleased
+
+  AMBARI-239. HDFS utilization pie chart shows gray / HDFS down while HDFS is up and running.
+  (vgogate via jitendra)
+
   AMBARI-238. When namenode process is down info shown is not correct for both HDFS and MR (vgogate)
 
   AMBARI-237. Refactor puppet kick loop to easily change retries and timeouts.

Modified: incubator/ambari/branches/ambari-186/mon_dashboard/src/ui/js/common.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/mon_dashboard/src/ui/js/common.js?rev=1339446&r1=1339445&r2=1339446&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/mon_dashboard/src/ui/js/common.js (original)
+++ incubator/ambari/branches/ambari-186/mon_dashboard/src/ui/js/common.js Thu May 17 02:30:17 2012
@@ -546,7 +546,7 @@
   // Draw pie chart on Dashboard
   a.drawDiskUtilPieChart = function(clusterData){
     var r = Raphael("pie2"), pie, data = {};
-    if (data.dfs_percent_remaining == undefined) {
+    if (clusterData.dfs_percent_remaining == undefined) {
       data = {data:[100],label:{legend:["HDFS Down"], legendpos:"east"}};
       pie = r.piechart(130, 100, 80, data.data, data.label);
       pie.attr("fill", "gray");