ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgog...@apache.org
Subject svn commit: r1339384 - in /incubator/ambari/branches/ambari-186: CHANGES.txt mon_dashboard/src/ui/home.html mon_dashboard/src/ui/js/common.js mon_dashboard/src/ui/styles/common.css
Date Wed, 16 May 2012 21:52:30 GMT
Author: vgogate
Date: Wed May 16 21:52:30 2012
New Revision: 1339384

URL: http://svn.apache.org/viewvc?rev=1339384&view=rev
Log:
AMBARI-238. When namenode process is down info shown is not correct for both HDFS and MR by
vgogate

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

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1339384&r1=1339383&r2=1339384&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Wed May 16 21:52:30 2012
@@ -1,6 +1,8 @@
 Ambari Change log
 
 Release 0.x.x - unreleased
+  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.
   (jitendra)
 

Modified: incubator/ambari/branches/ambari-186/mon_dashboard/src/ui/home.html
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/mon_dashboard/src/ui/home.html?rev=1339384&r1=1339383&r2=1339384&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/mon_dashboard/src/ui/home.html (original)
+++ incubator/ambari/branches/ambari-186/mon_dashboard/src/ui/home.html Wed May 16 21:52:30
2012
@@ -18,145 +18,144 @@
 -->
 <html>
 <head>
-	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-	<title>Monitoring v1.0</title>
-	<link type="text/css" rel="stylesheet" href="./styles/common.css" media="screen"/>
-	<link type="text/css" rel="stylesheet" href="./libs/jqueryui/css/custom-theme/jquery-ui-1.7.3.custom.css"
media="screen"/>
-	<link type="text/css" rel="stylesheet" href="./libs/jqgrid/css/ui.jqgrid.css" media="screen"/>
-	<link type="text/css" rel="stylesheet" href="./libs/jquery.multiselect.css" media="screen"/>
-	<!--[if lt IE 9]><script type="text/javascript" src="./libs/html5shiv/html5shiv.min.js"></script><![endif]-->
	
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <title>Monitoring v1.0</title>
+  <link type="text/css" rel="stylesheet" href="./styles/common.css" media="screen"/>
+  <link type="text/css" rel="stylesheet" href="./libs/jqueryui/css/custom-theme/jquery-ui-1.7.3.custom.css"
media="screen"/>
+  <link type="text/css" rel="stylesheet" href="./libs/jqgrid/css/ui.jqgrid.css" media="screen"/>
+  <link type="text/css" rel="stylesheet" href="./libs/jquery.multiselect.css" media="screen"/>
+  <!--[if lt IE 9]><script type="text/javascript" src="./libs/html5shiv/html5shiv.min.js"></script><![endif]-->
  
 </head>
 <body>
-	<header>
-		<img src="./logo/logo.jpg"/>
-		<section id="headerText">Hortonworks Data Platform</section>
-	</header>
-	
-	<section class="navAndLinks">
-		<nav>
-			<ul>
-				<li><a href="./home.html" class="selectedNavItem">Dashboard</a></li>
-				<li><a href="./hdfs.html">HDFS</a></li>
-				<li><a href="./mapreduce.html">MapReduce</a></li>
-				<li><a id="hbase_link" href="./hbase.html">HBase</a></li>
-			</ul>
-		</nav>
-		
-		<section id="links">
-			<a class="roundedBox" href="http://www.hortonworks.com" target="_blank">Post Feedback</a>
-			<a class="roundedBox" href="http://www.hortonworks.com" target="_blank">Documentation</a>
-			<a id="nagios" class="roundedBox" href="" target="_blank">Nagios</a>
-			<a id="ganglia" class="roundedBox" href="" target="_blank">Ganglia</a>
-                        <a id="oozie" class="roundedBox" href="" target="_blank">Oozie</a>
-		</section>
-		<section class="clear"></section>
-	</section>
-	<section class="clear"></section>
-	
-	<section class="widget roundedBox alertSummaryWidget">
-		<h1 class="title">Services</h1>
-		
-		<section id="clusterSummaryContainer">
-			<table id="alertSummaryTable" class="clusterSummaryGrid">
-				<thead>
-					<tr>
-						<th class="service">Service</th>
-						<th class="state">State</th>
-						<th class="critical">Critical</th>
-						<th class="warning">Warning</th>
-					</tr>
-				</thead>
-				<tbody id="servicesGrid"></tbody>
-			</table>
-			
-			<section id="alerts">
-				<table id="alertsGrid"></table>
-				<section id="pager"></section>
-			</section>
-			
-		</section>
-		<section class="clear"></section>
-	</section>
-	
-	<section id="serviceSummaryWidget" class="widget roundedBox">
-		<h1 id="clusterTitle" class="title">Cluster Summary</h1>
-		
-		<section id="clusterTextContainer" class="textContainer">
-			<table id="clusterSummaryGrid" class="clusterSummaryGrid" class="grid">
-				<thead>
-					<tr><th colspan="2">HDFS</th></tr>
-				</thead>
-				<tbody>
-					<tr><td title="Live/Total">Server Count</td><td></td></tr>
-					<tr><td title="Uptime">NameNode Uptime</td><td></td></tr>
-					<tr><td title="Used/Total">HDFS Capacity</td><td></td></tr>
-					<tr><td>DataNodes (live/dead/decom)</td><td></td></tr>
-					<tr><td>Under Replicated Block Count</td><td></td></tr>
-				</tbody>
-			</table>
-			<br/>
-			<table id="clusterSummaryGrid2" class="clusterSummaryGrid" class="grid">
-				<thead>
-					<tr><th colspan="2">MapReduce</th></tr>
-				</thead>
-				<tbody>
-					<tr><td title="Uptime">Job Tracker Uptime</td><td></td></tr>
-					<tr><td title="Live/Blacklisted">Trackers</td><td></td></tr>
-					<tr><td>Running & Waiting Jobs</td><td></td></tr>
-				</tbody>
-			</table>
-			<br/>
-			<table id="clusterSummaryGrid3" class="clusterSummaryGrid" class="grid">
-				<thead>
-					<tr><th colspan="2">HBase</th></tr>
-				</thead>
-				<tbody>
-					<tr><td>HBase Master Uptime</td><td></td></tr>
-					<tr><td>Region Servers (live/dead)</td><td></td></tr>
-					<tr><td>Regions in Transition</td><td></td></tr>
-				</tbody>
-			</table>
-		</section>
-		
- 		<section class="pieContainer">
-			<section class="pieBox">
-				<h2>Nodes Up/Down</h2>
-				<section id="pie1" class="pieChart"></section>
-			</section>
-			<section class="pieBox">
-				<h2>Disk Free/Used</h2>
-				<section id="pie2" class="pieChart"></section>
-			</section>
- 		</section>
-	</section>
-	
-	<section class="widget roundedBox graphSummaryWidget">
-		<h1 class="title">Service Graphs</h1>
-		<section id="graphs_hdp" class="graphContainer">
-	 	</section>
-	</section>
-	
-	<section class="widget roundedBox graphSummaryWidget">
-		<h1 class="title" title="Master servers are not included in the aggregation">Aggregated
Server Utilization</h1>
-		<section id="graphs_all" class="graphContainer">
-	 	</section>
-	</section>
-	
-	<section id="graphPopup" class="roundedBox">
-		<span id="close"></span>
-		<img id="popupImg" src=""/>
-		<a id="graphForwardLink" href=""></a>
-	</section>
-	
-	<footer></footer>
-	<script type="text/javascript" src="./libs/jquery-1.7.1.js"></script>
-	<script type="text/javascript" src="./libs/jqueryui/js/jquery-ui-1.7.3.custom.min.js"></script>
-	<script type="text/javascript" src="./libs/jquery.multiselect.js"></script>
-	<script type="text/javascript" src="./libs/jqgrid/js/i18n/grid.locale-en.js"></script>
-	<script type="text/javascript" src="./libs/jqgrid/js/jquery.jqGrid.src.js"></script>
-	<script type="text/javascript" src="./libs/raphael/raphael.js"></script>
-	<script type="text/javascript" src="./libs/raphael/g.raphael.min.js"></script>
-	<script type="text/javascript" src="./libs/raphael/g.pie.min.js"></script>
- 	<script type="text/javascript" src="./js/common.js"></script>	
+  <header>
+    <img src="./logo/logo.jpg"/>
+    <section id="headerText">Hortonworks Data Platform</section>
+  </header>
+  
+  <section class="navAndLinks">
+    <nav>
+      <ul>
+        <li><a href="./home.html" class="selectedNavItem">Dashboard</a></li>
+        <li><a href="./hdfs.html">HDFS</a></li>
+        <li><a href="./mapreduce.html">MapReduce</a></li>
+        <li><a id="hbase_link" href="./hbase.html">HBase</a></li>
+      </ul>
+    </nav>
+    
+    <section id="links">
+      <a class="roundedBox" href="http://www.hortonworks.com" target="_blank">Post
Feedback</a>
+      <a class="roundedBox" href="http://www.hortonworks.com" target="_blank">Documentation</a>
+      <a id="nagios" class="roundedBox" href="" target="_blank">Nagios</a>
+      <a id="ganglia" class="roundedBox" href="" target="_blank">Ganglia</a>
+      <a id="oozie" class="roundedBox" href="" target="_blank">Oozie</a>
+    </section>
+    <section class="clear"></section>
+  </section>
+  <section class="clear"></section>
+  
+  <section class="widget roundedBox alertSummaryWidget">
+    <h1 class="title">Services</h1>
+    
+    <section id="clusterSummaryContainer">
+      <table id="alertSummaryTable" class="clusterSummaryGrid">
+        <thead>
+          <tr>
+            <th class="service">Service</th>
+            <th class="state">State</th>
+            <th class="critical">Critical</th>
+            <th class="warning">Warning</th>
+          </tr>
+        </thead>
+        <tbody id="servicesGrid"></tbody>
+      </table>
+      
+      <section id="alerts">
+        <table id="alertsGrid"></table>
+        <section id="pager"></section>
+      </section>
+      
+    </section>
+    <section class="clear"></section>
+  </section>
+  
+  <section id="serviceSummaryWidget" class="widget roundedBox">
+    <h1 id="clusterTitle" class="title">Cluster Summary</h1>
+    
+    <section id="clusterTextContainer" class="textContainer">
+      <table id="clusterSummaryGrid" class="clusterSummaryGrid" class="grid">
+        <thead>
+          <tr><th id="hdfssummarytitle" colspan="2">HDFS</th></tr>
+        </thead>
+        <tbody>
+          <tr><td title="Uptime">NameNode Uptime</td><td></td></tr>
+          <tr><td title="Used/Total">HDFS Capacity</td><td></td></tr>
+          <tr><td>DataNodes (live/dead/decom)</td><td></td></tr>
+          <tr><td>Under Replicated Block Count</td><td></td></tr>
+        </tbody>
+      </table>
+      <br/>
+      <table id="clusterSummaryGrid2" class="clusterSummaryGrid" class="grid">
+        <thead>
+          <tr><th id="mapredsummarytitle" colspan="2">MapReduce</th></tr>
+        </thead>
+        <tbody>
+          <tr><td title="Uptime">Job Tracker Uptime</td><td></td></tr>
+          <tr><td title="Live/Blacklisted">Trackers</td><td></td></tr>
+          <tr><td>Running & Waiting Jobs</td><td></td></tr>
+        </tbody>
+      </table>
+      <br/>
+      <table id="clusterSummaryGrid3" class="clusterSummaryGrid" class="grid">
+        <thead>
+          <tr><th id="hbasesummarytitle" colspan="2">HBase</th></tr>
+        </thead>
+        <tbody>
+          <tr><td>HBase Master Uptime</td><td></td></tr>
+          <tr><td>Region Servers (live/dead)</td><td></td></tr>
+          <tr><td>Regions in Transition</td><td></td></tr>
+        </tbody>
+      </table>
+    </section>
+    
+     <section class="pieContainer">
+      <section class="pieBox">
+        <h2 id="nodesud">Nodes Up/Down</h2>
+        <section id="pie1" class="pieChart"></section>
+      </section>
+      <section class="pieBox">
+        <h2>HDFS Free/Used</h2>
+        <section id="pie2" class="pieChart"></section>
+      </section>
+     </section>
+  </section>
+  
+  <section class="widget roundedBox graphSummaryWidget">
+    <h1 class="title">Service Graphs</h1>
+    <section id="graphs_hdp" class="graphContainer">
+     </section>
+  </section>
+  
+  <section class="widget roundedBox graphSummaryWidget">
+    <h1 class="title" title="Master servers are not included in the aggregation">Aggregated
Server Utilization</h1>
+    <section id="graphs_all" class="graphContainer">
+     </section>
+  </section>
+  
+  <section id="graphPopup" class="roundedBox">
+    <span id="close"></span>
+    <img id="popupImg" src=""/>
+    <a id="graphForwardLink" href=""></a>
+  </section>
+  
+  <footer></footer>
+  <script type="text/javascript" src="./libs/jquery-1.7.1.js"></script>
+  <script type="text/javascript" src="./libs/jqueryui/js/jquery-ui-1.7.3.custom.min.js"></script>
+  <script type="text/javascript" src="./libs/jquery.multiselect.js"></script>
+  <script type="text/javascript" src="./libs/jqgrid/js/i18n/grid.locale-en.js"></script>
+  <script type="text/javascript" src="./libs/jqgrid/js/jquery.jqGrid.src.js"></script>
+  <script type="text/javascript" src="./libs/raphael/raphael.js"></script>
+  <script type="text/javascript" src="./libs/raphael/g.raphael.min.js"></script>
+  <script type="text/javascript" src="./libs/raphael/g.pie.min.js"></script>
+  <script type="text/javascript" src="./js/common.js"></script>  
 </body>
 </html>

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=1339384&r1=1339383&r2=1339384&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 Wed May 16 21:52:30
2012
@@ -98,42 +98,86 @@
         
         // Grid 1
         var clusterGrid = document.getElementById("clusterSummaryGrid");
-        // Node Count
-        // populated from Nagios
+        if (data.namenode_starttime == undefined) {
+          clusterGrid.style.backgroundColor = "lightgray";
+          //clusterGrid.innerHTML= "HDFS (Down)";
+          document.getElementById("hdfssummarytitle").innerHTML= "HDFS (Down)";
+        }
+
         // NN Uptime
-        var now = new Date(), 
+        if (data.namenode_starttime != undefined) {
+          var now = new Date(), 
           actualTimeInMs = now.setUTCSeconds(0), 
           actualTime = actualTimeInMs.toString().substring(0,10), 
           result = actualTime - data.namenode_starttime;
-        clusterGrid.rows[2].cells[1].innerHTML = a.convertToDDHHMM(result);
+          clusterGrid.rows[1].cells[1].innerHTML = a.convertToDDHHMM(result);
+        }
+
         // HDFS Capacity
-        clusterGrid.rows[3].cells[1].innerHTML = a.convertBytes(data.dfs_used_bytes, 2) +
" / " + a.convertBytes(data.dfs_total_bytes, 2);
+        if (data.dfs_used_bytes != undefined) {
+          clusterGrid.rows[2].cells[1].innerHTML = a.convertBytes(data.dfs_used_bytes, 2)
+ " / " + 
+                                                 a.convertBytes(data.dfs_total_bytes, 2);
+        }
+
         // Live vs dead nodes vs decomm
-        clusterGrid.rows[4].cells[1].innerHTML = '<a href="http://' + data.namenode_addr
+ '/dfsnodelist.jsp?whatNodes=LIVE">' + data.live_nodes + 
-        '</a>' + ' / ' + '<a href="http://' + data.namenode_addr + '/dfsnodelist.jsp?whatNodes=DEAD">'
+ data.dead_nodes + 
-        '</a>' + ' / ' + '<a href="http://' + data.namenode_addr + '/dfsnodelist.jsp?whatNodes=DECOMMISSIONING">'
+ data.decommissioning_nodes + '</a>';
+        if (data.live_nodes != undefined) {
+          clusterGrid.rows[3].cells[1].innerHTML = 
+             '<a href="http://' + data.namenode_addr + '/dfsnodelist.jsp?whatNodes=LIVE">'
+ data.live_nodes + 
+             '</a>' + ' / ' + '<a href="http://' + data.namenode_addr + '/dfsnodelist.jsp?whatNodes=DEAD">'
+ 
+             data.dead_nodes + '</a>' + ' / ' + '<a href="http://' + data.namenode_addr
+ 
+             '/dfsnodelist.jsp?whatNodes=DECOMMISSIONING">' + data.decommissioning_nodes
+ '</a>';
+        }
+        
         // Under replicated block count
-        clusterGrid.rows[5].cells[1].innerHTML = data.dfs_blocks_underreplicated;
+        clusterGrid.rows[4].cells[1].innerHTML = data.dfs_blocks_underreplicated;
         
         // Grid 2
         var clusterGrid2 = document.getElementById("clusterSummaryGrid2");
+        if (data.jobtracker_starttime == undefined) {
+          clusterGrid2.style.backgroundColor = "lightgray";
+          document.getElementById("mapredsummarytitle").innerHTML= "MapReduce (Down)";
+        }
+
         // JT Uptime
-        var result2 = actualTime - data.jobtracker_starttime;
-        clusterGrid2.rows[1].cells[1].innerHTML = a.convertToDDHHMM(result2);
+        if (data.jobtracker_starttime != undefined) {
+          var result2 = actualTime - data.jobtracker_starttime;
+          clusterGrid2.rows[1].cells[1].innerHTML = a.convertToDDHHMM(result2);
+        }
+
         // Trackers (live/blacklisted)
-        clusterGrid2.rows[2].cells[1].innerHTML = '<a href="http://' + data.jobtracker_addr
+ '/machines.jsp?type=active">' + data.trackers_live + 
-        '</a>' + ' / ' + '<a href="http://' + data.jobtracker_addr + '/machines.jsp?type=blacklisted">'
+ data.trackers_blacklisted + '</a>';
+        if (data.trackers_live != undefined) {
+          clusterGrid2.rows[2].cells[1].innerHTML = 
+             '<a href="http://' + data.jobtracker_addr + '/machines.jsp?type=active">'
+ data.trackers_live + 
+             '</a>' + ' / ' + '<a href="http://' + data.jobtracker_addr + '/machines.jsp?type=blacklisted">'
+ 
+             data.trackers_blacklisted + '</a>';
+        }
+
         // Running Jobs
-        clusterGrid2.rows[3].cells[1].innerHTML = data.running_jobs + " & " + data.waiting_jobs;
+        if (data.running_jobs != undefined) {
+          clusterGrid2.rows[3].cells[1].innerHTML = data.running_jobs + " & " + data.waiting_jobs;
+        }
         
         // Grid 3
         var clusterGrid3 = document.getElementById("clusterSummaryGrid3");
+        if (data.hbasemaster_starttime == undefined) {
+          clusterGrid3.style.backgroundColor = "lightgray";
+          document.getElementById("hbasesummarytitle").innerHTML= "HBase (Down)";
+        }
+
         // HBase Uptime
-        var result3 = actualTime - data.hbasemaster_starttime;
-        clusterGrid3.rows[1].cells[1].innerHTML = a.convertToDDHHMM(result3);
+        if (data.hbasemaster_starttime != undefined) {
+          var result3 = actualTime - data.hbasemaster_starttime;
+          clusterGrid3.rows[1].cells[1].innerHTML = a.convertToDDHHMM(result3);
+        }
+
         // Region servers
-        clusterGrid3.rows[2].cells[1].innerHTML = '<a href="http://' + data.hbasemaster_addr
+ '/master-status">' + data.live_regionservers + 
-        '</a>' + ' / ' + '<a href="http://' + data.hbasemaster_addr + '/master-status">'
+ data.dead_regionservers + '</a>';
+        if (data.live_regionservers != undefined) {
+          clusterGrid3.rows[2].cells[1].innerHTML = 
+              '<a href="http://' + data.hbasemaster_addr + '/master-status">' + data.live_regionservers
+ 
+              '</a>' + ' / ' + '<a href="http://' + data.hbasemaster_addr + '/master-status">'
+ 
+              data.dead_regionservers + '</a>';
+        }
+
         // Regions in Transition
         clusterGrid3.rows[3].cells[1].innerHTML = data.regions_in_transition_count;
         
@@ -502,10 +546,16 @@
   // Draw pie chart on Dashboard
   a.drawDiskUtilPieChart = function(clusterData){
     var r = Raphael("pie2"), pie, data = {};
+    if (data.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");
+      return;
+    }
     if(clusterData.dfs_percent_remaining == 100){
-      data = {data:[100],label:{legend:["%%.%% Up"], legendpos:"east"}};
+      data = {data:[100],label:{legend:["%%.%% Free"], legendpos:"east"}};
     }else if(clusterData.dfs_percent_remaining == 0){
-      data = {data:[100],label:{legend:["%%.%% Down"], legendpos:"east"}};
+      data = {data:[100],label:{legend:["%%.%% Used"], legendpos:"east"}};
     } else {
       data = {data:[100 - clusterData.dfs_percent_remaining, clusterData.dfs_percent_remaining],label:{legend:["%%.%%
Used", "%%.%% Free"], legendpos:"east"}};
     }
@@ -515,6 +565,14 @@
   // Draw pie chart on Dashboard
   a.drawNodesUpPieChart = function(response){
     var r = Raphael("pie1"), pie, data = {};
+    if (response.hostcounts.down_hosts == undefined) {
+      data = {data:[100],label:{legend:["Nagios Down"], legendpos:"east"}};
+      pie = r.piechart(130, 100, 80, data.data, data.label);
+      pie.attr("fill", "gray");
+      return;
+    }
+    document.getElementById("nodesud").innerHTML = 
+              "Nodes Up/Down ("+response.hostcounts.up_hosts+"/"+response.hostcounts.down_hosts+")";
     if(response.hostcounts.down_hosts == 0){
       data = {data:[100],label:{legend:["%%.%% Up"], legendpos:"east"}};
     }else if(response.hostcounts.up_hosts == 0){
@@ -524,7 +582,7 @@
     }
     pie = r.piechart(130, 100, 80, data.data, data.label);
   };
-  
+
   // Generate links for Ganglia and Nagios
   a.addLinks = function(data){
     var nagios = document.getElementById("nagios");
@@ -641,13 +699,6 @@
           targetId = target.parentNode.id;
         }
         
-        if(page == "DASHBOARD"){
-          // Populate Server Count from Nagios - Regardless of HBase
-          var clusterGrid = document.getElementById("clusterSummaryGrid"), 
-            total = hostcounts.up_hosts + hostcounts.down_hosts;
-          clusterGrid.rows[1].cells[1].innerHTML = hostcounts.up_hosts + " / " + total;
-        }
-        
         // If HBase is not installed ...
         if(hbase_installed == false && targetId == "HBASE"){
           $("#alertsGrid").clearGridData();

Modified: incubator/ambari/branches/ambari-186/mon_dashboard/src/ui/styles/common.css
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/mon_dashboard/src/ui/styles/common.css?rev=1339384&r1=1339383&r2=1339384&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/mon_dashboard/src/ui/styles/common.css (original)
+++ incubator/ambari/branches/ambari-186/mon_dashboard/src/ui/styles/common.css Wed May 16
21:52:30 2012
@@ -307,21 +307,21 @@ td.service, td.state, td.critical, td.wa
 }
 /* ------------------- PIE charts ------------------- */
 .pieContainer {
-	float:left;
-	width:650px;
-	margin:0 0 0 15px;
+       float:left;
+       width:660px;
+       margin:0 0 0 15px;
 }
 .pieContainer h2 {
-	display:inline-block;
-	margin:8px 0 0;
-	width:325px;
-	text-align:center;
-	font-weight:normal;
+       display:inline-block;
+       margin:8px 0px 0px 50px;
+       width:325px;
+       text-align:left;
+       font-weight:normal;
 }
 .pieBox, .pieChart {
-	float:left;
-	width:325px;
-	height:200px;
+       float:left;
+       width:330px;
+       height:200px;
 }
 /*---------------END PIE containers--------------------*/
 



Mime
View raw message