You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2012/10/29 02:18:03 UTC

svn commit: r1403141 - in /incubator/ambari/branches/AMBARI-666: ./ ambari-web/app/ ambari-web/app/assets/data/services/metrics/hbase/ ambari-web/app/templates/main/service/info/ ambari-web/app/views/main/service/info/ ambari-web/app/views/main/service...

Author: yusaku
Date: Mon Oct 29 01:18:02 2012
New Revision: 1403141

URL: http://svn.apache.org/viewvc?rev=1403141&view=rev
Log:
AMBARI-936. Provide HBase service specific graphs (Srimanth Gunturi via yusaku)

Added:
    incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/
    incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/cluster_requests.json
    incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/hlog_split_size.json
    incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/hlog_split_time.json
    incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/regionserver_queuesize.json
    incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/regionserver_regions.json
    incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/regionserver_rw_requests.json
    incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/
    incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/cluster_requests.js
    incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/hlog_split_size.js
    incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/hlog_split_time.js
    incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/regionserver_queuesize.js
    incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/regionserver_regions.js
    incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/regionserver_rw_requests.js
Modified:
    incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt
    incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/service/info/summary.hbs
    incubator/ambari/branches/AMBARI-666/ambari-web/app/views.js
    incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/summary.js

Modified: incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt?rev=1403141&r1=1403140&r2=1403141&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt (original)
+++ incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt Mon Oct 29 01:18:02 2012
@@ -12,6 +12,9 @@ AMBARI-666 branch (unreleased changes)
 
   NEW FEATURES
 
+  AMBARI-936. Provide HBase service specific graphs. (Srimanth Gunturi
+  via yusaku)
+
   AMBARI-933. Provide service-specific alerts in the service summary
   pages. (Srimanth Gunturi via yusaku)
 

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/cluster_requests.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/cluster_requests.json?rev=1403141&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/cluster_requests.json (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/cluster_requests.json Mon Oct 29 01:18:02 2012
@@ -0,0 +1,15 @@
+{
+  "href" : "http://ambari/clusters/mycluster/services/HBASE/components/HBASE_MASTER?fields=metrics/hbase/master/cluster_requests[1351356190,1351359791,60]",
+  "metrics" : {
+    "hbase" : {
+      "master" : {
+        "cluster_requests" : "[[0.0,1351356195],[0.0,1351356210],[0.0,1351356225],[0.0,1351356240],[0.0,1351356255],[0.0,1351356270],[0.0,1351356285],[0.0,1351356300],[0.0,1351356315],[0.0,1351356330],[0.0,1351356345],[0.0,1351356360],[0.0,1351356375],[0.0,1351356390],[0.0,1351356405],[0.0,1351356420],[0.0,1351356435],[0.14,1351356450],[0.18,1351356465],[0.0,1351356480],[0.0,1351356495],[0.0,1351356510],[0.0,1351356525],[0.0,1351356540],[0.0,1351356555],[0.0,1351356570],[0.0,1351356585],[0.0,1351356600],[0.0,1351356615],[0.0,1351356630],[0.0,1351356645],[0.0,1351356660],[0.0,1351356675],[0.0,1351356690],[0.0,1351356705],[0.0,1351356720],[0.0,1351356735],[0.16,1351356750],[0.14,1351356765],[0.0,1351356780],[0.0,1351356795],[0.0,1351356810],[0.0,1351356825],[0.0,1351356840],[0.0,1351356855],[0.0,1351356870],[0.0,1351356885],[0.0,1351356900],[0.0,1351356915],[0.0,1351356930],[0.0,1351356945],[0.0,1351356960],[0.0,1351356975],[0.0,1351356990],[0.0,1351357005],[0.0,1351357020],[0
 .0,1351357035],[0.2,1351357050],[0.1,1351357065],[0.0,1351357080],[0.0,1351357095],[0.0,1351357110],[0.0,1351357125],[0.0,1351357140],[0.0,1351357155],[0.0,1351357170],[0.0,1351357185],[0.0,1351357200],[0.0,1351357215],[0.0,1351357230],[0.0,1351357245],[0.0,1351357260],[0.0,1351357275],[0.0,1351357290],[0.0,1351357305],[0.0,1351357320],[0.0,1351357335],[0.22,1351357350],[0.08,1351357365],[0.0,1351357380],[0.0,1351357395],[0.0,1351357410],[0.0,1351357425],[0.0,1351357440],[0.0,1351357455],[0.0,1351357470],[0.0,1351357485],[0.0,1351357500],[0.0,1351357515],[0.0,1351357530],[0.0,1351357545],[0.0,1351357560],[0.0,1351357575],[0.0,1351357590],[0.0,1351357605],[0.0,1351357620],[0.0,1351357635],[0.0,1351357650],[0.0,1351357665],[0.0,1351357680],[0.0,1351357695],[0.0,1351357710],[0.0,1351357725],[0.0,1351357740],[0.0,1351357755],[0.0,1351357770],[0.0,1351357785],[0.0,1351357800],[0.0,1351357815],[0.0,1351357830],[0.0,1351357845],[0.0,1351357860],[0.0,1351357875],[0.0,1351357890],[0.
 0,1351357905],[0.0,1351357920],[0.0,1351357935],[0.0,1351357950],[0.0,1351357965],[0.0,1351357980],[0.0,1351357995],[0.0,1351358010],[0.0,1351358025],[0.0,1351358040],[0.0,1351358055],[0.0,1351358070],[0.0,1351358085],[0.0,1351358100],[0.0,1351358115],[0.0,1351358130],[0.0,1351358145],[0.0,1351358160],[0.0,1351358175],[0.0,1351358190],[0.0,1351358205],[0.0,1351358220],[0.0,1351358235],[0.0,1351358250],[0.0,1351358265],[0.0,1351358280],[0.0,1351358295],[0.0,1351358310],[0.0,1351358325],[0.0,1351358340],[0.0,1351358355],[0.0,1351358370],[0.0,1351358385],[0.0,1351358400],[0.0,1351358415],[0.0,1351358430],[0.0,1351358445],[0.0,1351358460],[0.0,1351358475],[0.0,1351358490],[0.0,1351358505],[0.0,1351358520],[0.0,1351358535],[0.06,1351358550],[0.24,1351358565],[0.0,1351358580],[0.0,1351358595],[0.0,1351358610],[0.0,1351358625],[0.0,1351358640],[0.0,1351358655],[0.0,1351358670],[0.0,1351358685],[0.0,1351358700],[0.0,1351358715],[0.0,1351358730],[0.0,1351358745],[0.0,1351358760],[0.0
 ,1351358775],[0.0,1351358790],[0.0,1351358805],[0.0,1351358820],[0.0,1351358835],[0.14,1351358850],[0.18,1351358865],[0.0,1351358880],[0.0,1351358895],[0.0,1351358910],[0.0,1351358925],[0.0,1351358940],[0.0,1351358955],[0.0,1351358970],[0.0,1351358985],[0.0,1351359000],[0.0,1351359015],[0.0,1351359030],[0.0,1351359045],[0.0,1351359060],[0.0,1351359075],[0.0,1351359090],[0.0,1351359105],[0.0,1351359120],[0.0,1351359135],[0.12,1351359150],[0.18,1351359165],[0.0,1351359180],[0.0,1351359195],[0.0,1351359210],[0.0,1351359225],[0.0,1351359240],[0.0,1351359255],[0.0,1351359270],[0.0,1351359285],[0.0,1351359300],[0.0,1351359315],[0.0,1351359330],[0.0,1351359345],[0.0,1351359360],[0.0,1351359375],[0.0,1351359390],[0.0,1351359405],[0.0,1351359420],[0.0,1351359435],[0.14,1351359450],[0.16,1351359465],[0.0,1351359480],[0.0,1351359495],[0.0,1351359510],[0.0,1351359525],[0.0,1351359540],[0.0,1351359555],[0.0,1351359570],[0.0,1351359585],[0.0,1351359600],[0.0,1351359615],[0.0,1351359630],[
 0.0,1351359645],[0.0,1351359660],[0.0,1351359675],[0.0,1351359690],[0.0,1351359705],[0.0,1351359720],[0.0,1351359735],[0.0,1351359750],[0.0,1351359765],[0.0,1351359780],[0.0,1351359795]]"
+      }
+    }
+  },
+  "ServiceComponentInfo" : {
+    "cluster_name" : "mycluster",
+    "component_name" : "HBASE_MASTER",
+    "service_name" : "HBASE"
+  }
+}
\ No newline at end of file

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/hlog_split_size.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/hlog_split_size.json?rev=1403141&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/hlog_split_size.json (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/hlog_split_size.json Mon Oct 29 01:18:02 2012
@@ -0,0 +1,15 @@
+{
+  "href" : "http://ambari/clusters/mycluster/services/HBASE/components/HBASE_MASTER?fields=metrics/hbase/master/splitSize_avg_time[1351356190,1351359791,60]",
+  "metrics" : {
+    "hbase" : {
+      "master" : {
+        "splitSize_avg_time" : "[[0.0,1351356480],[0.0,1351356840],[0.0,1351357200],[0.0,1351357560],[0.0,1351357920],[0.0,1351358280],[0.0,1351358640],[0.0,1351359000],[0.0,1351359360],[0.0,1351359720],[0.0,1351360080]]"
+      }
+    }
+  },
+  "ServiceComponentInfo" : {
+    "cluster_name" : "mycluster",
+    "component_name" : "HBASE_MASTER",
+    "service_name" : "HBASE"
+  }
+}
\ No newline at end of file

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/hlog_split_time.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/hlog_split_time.json?rev=1403141&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/hlog_split_time.json (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/hlog_split_time.json Mon Oct 29 01:18:02 2012
@@ -0,0 +1,15 @@
+{
+  "href" : "http://ambari/clusters/mycluster/services/HBASE/components/HBASE_MASTER?fields=metrics/hbase/master/splitTime_avg_time[1351356190,1351359791,60]",
+  "metrics" : {
+    "hbase" : {
+      "master" : {
+        "splitTime_avg_time" : "[[0.0,1351356195],[0.0,1351356210],[0.0,1351356225],[0.0,1351356240],[0.0,1351356255],[0.0,1351356270],[0.0,1351356285],[0.0,1351356300],[0.0,1351356315],[0.0,1351356330],[0.0,1351356345],[0.0,1351356360],[0.0,1351356375],[0.0,1351356390],[0.0,1351356405],[0.0,1351356420],[0.0,1351356435],[0.0,1351356450],[0.0,1351356465],[0.0,1351356480],[0.0,1351356495],[0.0,1351356510],[0.0,1351356525],[0.0,1351356540],[0.0,1351356555],[0.0,1351356570],[0.0,1351356585],[0.0,1351356600],[0.0,1351356615],[0.0,1351356630],[0.0,1351356645],[0.0,1351356660],[0.0,1351356675],[0.0,1351356690],[0.0,1351356705],[0.0,1351356720],[0.0,1351356735],[0.0,1351356750],[0.0,1351356765],[0.0,1351356780],[0.0,1351356795],[0.0,1351356810],[0.0,1351356825],[0.0,1351356840],[0.0,1351356855],[0.0,1351356870],[0.0,1351356885],[0.0,1351356900],[0.0,1351356915],[0.0,1351356930],[0.0,1351356945],[0.0,1351356960],[0.0,1351356975],[0.0,1351356990],[0.0,1351357005],[0.0,1351357020],[0.0
 ,1351357035],[0.0,1351357050],[0.0,1351357065],[0.0,1351357080],[0.0,1351357095],[0.0,1351357110],[0.0,1351357125],[0.0,1351357140],[0.0,1351357155],[0.0,1351357170],[0.0,1351357185],[0.0,1351357200],[0.0,1351357215],[0.0,1351357230],[0.0,1351357245],[0.0,1351357260],[0.0,1351357275],[0.0,1351357290],[0.0,1351357305],[0.0,1351357320],[0.0,1351357335],[0.0,1351357350],[0.0,1351357365],[0.0,1351357380],[0.0,1351357395],[0.0,1351357410],[0.0,1351357425],[0.0,1351357440],[0.0,1351357455],[0.0,1351357470],[0.0,1351357485],[0.0,1351357500],[0.0,1351357515],[0.0,1351357530],[0.0,1351357545],[0.0,1351357560],[0.0,1351357575],[0.0,1351357590],[0.0,1351357605],[0.0,1351357620],[0.0,1351357635],[0.0,1351357650],[0.0,1351357665],[0.0,1351357680],[0.0,1351357695],[0.0,1351357710],[0.0,1351357725],[0.0,1351357740],[0.0,1351357755],[0.0,1351357770],[0.0,1351357785],[0.0,1351357800],[0.0,1351357815],[0.0,1351357830],[0.0,1351357845],[0.0,1351357860],[0.0,1351357875],[0.0,1351357890],[0.0,13
 51357905],[0.0,1351357920],[0.0,1351357935],[0.0,1351357950],[0.0,1351357965],[0.0,1351357980],[0.0,1351357995],[0.0,1351358010],[0.0,1351358025],[0.0,1351358040],[0.0,1351358055],[0.0,1351358070],[0.0,1351358085],[0.0,1351358100],[0.0,1351358115],[0.0,1351358130],[0.0,1351358145],[0.0,1351358160],[0.0,1351358175],[0.0,1351358190],[0.0,1351358205],[0.0,1351358220],[0.0,1351358235],[0.0,1351358250],[0.0,1351358265],[0.0,1351358280],[0.0,1351358295],[0.0,1351358310],[0.0,1351358325],[0.0,1351358340],[0.0,1351358355],[0.0,1351358370],[0.0,1351358385],[0.0,1351358400],[0.0,1351358415],[0.0,1351358430],[0.0,1351358445],[0.0,1351358460],[0.0,1351358475],[0.0,1351358490],[0.0,1351358505],[0.0,1351358520],[0.0,1351358535],[0.0,1351358550],[0.0,1351358565],[0.0,1351358580],[0.0,1351358595],[0.0,1351358610],[0.0,1351358625],[0.0,1351358640],[0.0,1351358655],[0.0,1351358670],[0.0,1351358685],[0.0,1351358700],[0.0,1351358715],[0.0,1351358730],[0.0,1351358745],[0.0,1351358760],[0.0,13513
 58775],[0.0,1351358790],[0.0,1351358805],[0.0,1351358820],[0.0,1351358835],[0.0,1351358850],[0.0,1351358865],[0.0,1351358880],[0.0,1351358895],[0.0,1351358910],[0.0,1351358925],[0.0,1351358940],[0.0,1351358955],[0.0,1351358970],[0.0,1351358985],[0.0,1351359000],[0.0,1351359015],[0.0,1351359030],[0.0,1351359045],[0.0,1351359060],[0.0,1351359075],[0.0,1351359090],[0.0,1351359105],[0.0,1351359120],[0.0,1351359135],[0.0,1351359150],[0.0,1351359165],[0.0,1351359180],[0.0,1351359195],[0.0,1351359210],[0.0,1351359225],[0.0,1351359240],[0.0,1351359255],[0.0,1351359270],[0.0,1351359285],[0.0,1351359300],[0.0,1351359315],[0.0,1351359330],[0.0,1351359345],[0.0,1351359360],[0.0,1351359375],[0.0,1351359390],[0.0,1351359405],[0.0,1351359420],[0.0,1351359435],[0.0,1351359450],[0.0,1351359465],[0.0,1351359480],[0.0,1351359495],[0.0,1351359510],[0.0,1351359525],[0.0,1351359540],[0.0,1351359555],[0.0,1351359570],[0.0,1351359585],[0.0,1351359600],[0.0,1351359615],[0.0,1351359630],[0.0,13513596
 45],[0.0,1351359660],[0.0,1351359675],[0.0,1351359690],[0.0,1351359705],[0.0,1351359720],[0.0,1351359735],[0.0,1351359750],[0.0,1351359765],[0.0,1351359780],[0.0,1351359795]]"
+      }
+    }
+  },
+  "ServiceComponentInfo" : {
+    "cluster_name" : "mycluster",
+    "component_name" : "HBASE_MASTER",
+    "service_name" : "HBASE"
+  }
+}
\ No newline at end of file

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/regionserver_queuesize.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/regionserver_queuesize.json?rev=1403141&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/regionserver_queuesize.json (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/regionserver_queuesize.json Mon Oct 29 01:18:02 2012
@@ -0,0 +1,16 @@
+{
+  "href" : "http://ambari/clusters/mycluster/services/HBASE/components/HBASE_REGIONSERVER?fields=metrics/hbase/regionserver/flushQueueSize[1351356190,1351359791,120],metrics/hbase/regionserver/compactionQueueSize[1351356190,1351359791,120]",
+  "metrics" : {
+    "hbase" : {
+      "regionserver" : {
+        "compactionQueueSize" : "[[0.0,1351356480],[0.0,1351356840],[0.0,1351357200],[0.0,1351357560],[0.0,1351357920],[0.0,1351358280],[0.0,1351358640],[0.0,1351359000],[0.0,1351359360],[0.0,1351359720],[0.0,1351360080]]",
+        "flushQueueSize" : "[[0.0,1351356480],[0.0,1351356840],[0.0,1351357200],[0.0,1351357560],[0.0,1351357920],[0.0,1351358280],[0.0,1351358640],[0.0,1351359000],[0.0,1351359360],[0.0,1351359720],[0.0,1351360080]]"
+      }
+    }
+  },
+  "ServiceComponentInfo" : {
+    "cluster_name" : "mycluster",
+    "component_name" : "HBASE_REGIONSERVER",
+    "service_name" : "HBASE"
+  }
+}
\ No newline at end of file

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/regionserver_regions.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/regionserver_regions.json?rev=1403141&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/regionserver_regions.json (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/regionserver_regions.json Mon Oct 29 01:18:02 2012
@@ -0,0 +1,15 @@
+{
+  "href" : "http://ambari/clusters/mycluster/services/HBASE/components/HBASE_REGIONSERVER?fields=metrics/hbase/regionserver/regions[1351356190,1351359791,60]",
+  "metrics" : {
+    "hbase" : {
+      "regionserver" : {
+        "regions" : "[[3.0,1351356480],[3.0,1351356840],[3.0,1351357200],[3.0,1351357560],[3.0,1351357920],[3.0,1351358280],[3.0,1351358640],[3.0,1351359000],[3.0,1351359360],[3.0,1351359720],[0.0,1351360080]]"
+      }
+    }
+  },
+  "ServiceComponentInfo" : {
+    "cluster_name" : "mycluster",
+    "component_name" : "HBASE_REGIONSERVER",
+    "service_name" : "HBASE"
+  }
+}
\ No newline at end of file

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/regionserver_rw_requests.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/regionserver_rw_requests.json?rev=1403141&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/regionserver_rw_requests.json (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/assets/data/services/metrics/hbase/regionserver_rw_requests.json Mon Oct 29 01:18:02 2012
@@ -0,0 +1,16 @@
+{
+  "href" : "http://ambari/clusters/mycluster/services/HBASE/components/HBASE_REGIONSERVER?fields=metrics/hbase/regionserver/readRequestsCount[1351356190,1351359791,60],metrics/hbase/regionserver/writeRequestsCount[1351356190,1351359791,60]",
+  "metrics" : {
+    "hbase" : {
+      "regionserver" : {
+        "writeRequestsCount" : "[[4.0,1351356480],[4.0,1351356840],[4.0,1351357200],[4.0,1351357560],[4.0,1351357920],[4.0,1351358280],[4.0,1351358640],[4.0,1351359000],[4.0,1351359360],[4.0,1351359720],[0.0,1351360080]]",
+        "readRequestsCount" : "[[2004.1333333,1351356480],[2006.5055556,1351356840],[2008.85,1351357200],[2011.1888889,1351357560],[2013.5222222,1351357920],[2016.0333333,1351358280],[2018.5277778,1351358640],[2020.8722222,1351359000],[2023.2111111,1351359360],[2025.5333333,1351359720],[0.0,1351360080]]"
+      }
+    }
+  },
+  "ServiceComponentInfo" : {
+    "cluster_name" : "mycluster",
+    "component_name" : "HBASE_REGIONSERVER",
+    "service_name" : "HBASE"
+  }
+}
\ No newline at end of file

Modified: incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/service/info/summary.hbs
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/service/info/summary.hbs?rev=1403141&r1=1403140&r2=1403141&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/service/info/summary.hbs (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/templates/main/service/info/summary.hbs Mon Oct 29 01:18:02 2012
@@ -263,6 +263,7 @@
 	</div>
 </div>
 </div>
+{{#if view.attributes.metric_graph_views}}
 <div class="row-fluid">
   <div class="span12">
     <div class="box">
@@ -281,3 +282,4 @@
     </div>
   </div>
 </div>
+{{/if}}
\ No newline at end of file

Modified: incubator/ambari/branches/AMBARI-666/ambari-web/app/views.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/views.js?rev=1403141&r1=1403140&r2=1403141&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/views.js (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/views.js Mon Oct 29 01:18:02 2012
@@ -84,6 +84,12 @@ require('views/main/service/info/metrics
 require('views/main/service/info/metrics/mapreduce/jobs_status');
 require('views/main/service/info/metrics/mapreduce/map_slots');
 require('views/main/service/info/metrics/mapreduce/reduce_slots');
+require('views/main/service/info/metrics/hbase/cluster_requests');
+require('views/main/service/info/metrics/hbase/regionserver_rw_requests');
+require('views/main/service/info/metrics/hbase/regionserver_regions');
+require('views/main/service/info/metrics/hbase/regionserver_queuesize');
+require('views/main/service/info/metrics/hbase/hlog_split_time');
+require('views/main/service/info/metrics/hbase/hlog_split_size');
 require('views/main/charts/menu');
 require('views/main/charts/heatmap');
 require('views/main/charts/horizon');

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/cluster_requests.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/cluster_requests.js?rev=1403141&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/cluster_requests.js (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/cluster_requests.js Mon Oct 29 01:18:02 2012
@@ -0,0 +1,68 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+var App = require('app');
+
+/**
+ * @class
+ * 
+ * This is a view for showing HBase Cluster Requests
+ * 
+ * @extends App.ChartLinearTimeView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartServiceMetricsHBASE_ClusterRequests = App.ChartLinearTimeView.extend({
+  id: "service-metrics-hbase-cluster-requests",
+  url: "/data/services/metrics/hbase/cluster_requests.json",
+  title: "Cluster Requests",
+
+  transformToSeries: function (jsonData) {
+    var seriesArray = [];
+    if (jsonData && jsonData.metrics && jsonData.metrics.hbase && jsonData.metrics.hbase.master) {
+      for ( var name in jsonData.metrics.hbase.master) {
+        var displayName;
+        var seriesData = jsonData.metrics.hbase.master[name];
+        switch (name) {
+          case "cluster_requests":
+            displayName = "Request Count";
+            break;
+          default:
+            break;
+        }
+        if (seriesData) {
+          // Is it a string?
+          if ("string" == typeof seriesData) {
+            seriesData = JSON.parse(seriesData);
+          }
+          // We have valid data
+          var series = {};
+          series.name = displayName;
+          series.data = [];
+          for ( var index = 0; index < seriesData.length; index++) {
+            series.data.push({
+              x: seriesData[index][1],
+              y: seriesData[index][0]
+            });
+          }
+          seriesArray.push(series);
+        }
+      }
+    }
+    return seriesArray;
+  }
+});
\ No newline at end of file

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/hlog_split_size.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/hlog_split_size.js?rev=1403141&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/hlog_split_size.js (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/hlog_split_size.js Mon Oct 29 01:18:02 2012
@@ -0,0 +1,69 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+var App = require('app');
+
+/**
+ * @class
+ * 
+ * This is a view for showing HBase Cluster Requests
+ * 
+ * @extends App.ChartLinearTimeView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartServiceMetricsHBASE_HlogSplitSize = App.ChartLinearTimeView.extend({
+  id: "service-metrics-hbase-hlog-split-size",
+  url: "/data/services/metrics/hbase/hlog_split_size.json",
+  title: "HLog Split Size",
+  yAxisFormatter: App.ChartLinearTimeView.BytesFormatter,
+
+  transformToSeries: function (jsonData) {
+    var seriesArray = [];
+    if (jsonData && jsonData.metrics && jsonData.metrics.hbase && jsonData.metrics.hbase.master) {
+      for ( var name in jsonData.metrics.hbase.master) {
+        var displayName;
+        var seriesData = jsonData.metrics.hbase.master[name];
+        switch (name) {
+          case "splitSize_avg_time":
+            displayName = "Split Size";
+            break;
+          default:
+            break;
+        }
+        if (seriesData) {
+          // Is it a string?
+          if ("string" == typeof seriesData) {
+            seriesData = JSON.parse(seriesData);
+          }
+          // We have valid data
+          var series = {};
+          series.name = displayName;
+          series.data = [];
+          for ( var index = 0; index < seriesData.length; index++) {
+            series.data.push({
+              x: seriesData[index][1],
+              y: seriesData[index][0]
+            });
+          }
+          seriesArray.push(series);
+        }
+      }
+    }
+    return seriesArray;
+  }
+});
\ No newline at end of file

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/hlog_split_time.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/hlog_split_time.js?rev=1403141&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/hlog_split_time.js (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/hlog_split_time.js Mon Oct 29 01:18:02 2012
@@ -0,0 +1,69 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+var App = require('app');
+
+/**
+ * @class
+ * 
+ * This is a view for showing HBase Cluster Requests
+ * 
+ * @extends App.ChartLinearTimeView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartServiceMetricsHBASE_HlogSplitTime = App.ChartLinearTimeView.extend({
+  id: "service-metrics-hbase-hlog-split-time",
+  url: "/data/services/metrics/hbase/hlog_split_time.json",
+  title: "HLog Split Time",
+  yAxisFormatter: App.ChartLinearTimeView.TimeElapsedFormatter,
+
+  transformToSeries: function (jsonData) {
+    var seriesArray = [];
+    if (jsonData && jsonData.metrics && jsonData.metrics.hbase && jsonData.metrics.hbase.master) {
+      for ( var name in jsonData.metrics.hbase.master) {
+        var displayName;
+        var seriesData = jsonData.metrics.hbase.master[name];
+        switch (name) {
+          case "splitTime_avg_time":
+            displayName = "Split Time";
+            break;
+          default:
+            break;
+        }
+        if (seriesData) {
+          // Is it a string?
+          if ("string" == typeof seriesData) {
+            seriesData = JSON.parse(seriesData);
+          }
+          // We have valid data
+          var series = {};
+          series.name = displayName;
+          series.data = [];
+          for ( var index = 0; index < seriesData.length; index++) {
+            series.data.push({
+              x: seriesData[index][1],
+              y: seriesData[index][0]
+            });
+          }
+          seriesArray.push(series);
+        }
+      }
+    }
+    return seriesArray;
+  }
+});
\ No newline at end of file

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/regionserver_queuesize.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/regionserver_queuesize.js?rev=1403141&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/regionserver_queuesize.js (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/regionserver_queuesize.js Mon Oct 29 01:18:02 2012
@@ -0,0 +1,71 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+var App = require('app');
+
+/**
+ * @class
+ * 
+ * This is a view for showing HBase Cluster Requests
+ * 
+ * @extends App.ChartLinearTimeView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartServiceMetricsHBASE_RegionServerQueueSize = App.ChartLinearTimeView.extend({
+  id: "service-metrics-hbase-regionserver-queuesize",
+  url: "/data/services/metrics/hbase/regionserver_queuesize.json",
+  title: "RegionServer Queue Size",
+
+  transformToSeries: function (jsonData) {
+    var seriesArray = [];
+    if (jsonData && jsonData.metrics && jsonData.metrics.hbase && jsonData.metrics.hbase.regionserver) {
+      for ( var name in jsonData.metrics.hbase.regionserver) {
+        var displayName;
+        var seriesData = jsonData.metrics.hbase.regionserver[name];
+        switch (name) {
+          case "compactionQueueSize":
+            displayName = "Compaction Queue Size";
+            break;
+          case "flushQueueSize":
+            displayName = "Flush Queue Size";
+            break;
+          default:
+            break;
+        }
+        if (seriesData) {
+          // Is it a string?
+          if ("string" == typeof seriesData) {
+            seriesData = JSON.parse(seriesData);
+          }
+          // We have valid data
+          var series = {};
+          series.name = displayName;
+          series.data = [];
+          for ( var index = 0; index < seriesData.length; index++) {
+            series.data.push({
+              x: seriesData[index][1],
+              y: seriesData[index][0]
+            });
+          }
+          seriesArray.push(series);
+        }
+      }
+    }
+    return seriesArray;
+  }
+});
\ No newline at end of file

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/regionserver_regions.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/regionserver_regions.js?rev=1403141&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/regionserver_regions.js (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/regionserver_regions.js Mon Oct 29 01:18:02 2012
@@ -0,0 +1,68 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+var App = require('app');
+
+/**
+ * @class
+ * 
+ * This is a view for showing HBase Cluster Requests
+ * 
+ * @extends App.ChartLinearTimeView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartServiceMetricsHBASE_RegionServerRegions = App.ChartLinearTimeView.extend({
+  id: "service-metrics-hbase-regionserver-regions",
+  url: "/data/services/metrics/hbase/regionserver_regions.json",
+  title: "RegionServer Regions",
+
+  transformToSeries: function (jsonData) {
+    var seriesArray = [];
+    if (jsonData && jsonData.metrics && jsonData.metrics.hbase && jsonData.metrics.hbase.regionserver) {
+      for ( var name in jsonData.metrics.hbase.regionserver) {
+        var displayName;
+        var seriesData = jsonData.metrics.hbase.regionserver[name];
+        switch (name) {
+          case "regions":
+            displayName = "Regions";
+            break;
+          default:
+            break;
+        }
+        if (seriesData) {
+          // Is it a string?
+          if ("string" == typeof seriesData) {
+            seriesData = JSON.parse(seriesData);
+          }
+          // We have valid data
+          var series = {};
+          series.name = displayName;
+          series.data = [];
+          for ( var index = 0; index < seriesData.length; index++) {
+            series.data.push({
+              x: seriesData[index][1],
+              y: seriesData[index][0]
+            });
+          }
+          seriesArray.push(series);
+        }
+      }
+    }
+    return seriesArray;
+  }
+});
\ No newline at end of file

Added: incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/regionserver_rw_requests.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/regionserver_rw_requests.js?rev=1403141&view=auto
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/regionserver_rw_requests.js (added)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/metrics/hbase/regionserver_rw_requests.js Mon Oct 29 01:18:02 2012
@@ -0,0 +1,71 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+var App = require('app');
+
+/**
+ * @class
+ * 
+ * This is a view for showing HBase Cluster Requests
+ * 
+ * @extends App.ChartLinearTimeView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartServiceMetricsHBASE_RegionServerReadWriteRequests = App.ChartLinearTimeView.extend({
+  id: "service-metrics-hbase-regionserver-rw-requests",
+  url: "/data/services/metrics/hbase/regionserver_rw_requests.json",
+  title: "RegionServer Requests",
+
+  transformToSeries: function (jsonData) {
+    var seriesArray = [];
+    if (jsonData && jsonData.metrics && jsonData.metrics.hbase && jsonData.metrics.hbase.regionserver) {
+      for ( var name in jsonData.metrics.hbase.regionserver) {
+        var displayName;
+        var seriesData = jsonData.metrics.hbase.regionserver[name];
+        switch (name) {
+          case "writeRequestsCount":
+            displayName = "Write Requests";
+            break;
+          case "readRequestsCount":
+            displayName = "Read Requests";
+            break;
+          default:
+            break;
+        }
+        if (seriesData) {
+          // Is it a string?
+          if ("string" == typeof seriesData) {
+            seriesData = JSON.parse(seriesData);
+          }
+          // We have valid data
+          var series = {};
+          series.name = displayName;
+          series.data = [];
+          for ( var index = 0; index < seriesData.length; index++) {
+            series.data.push({
+              x: seriesData[index][1],
+              y: seriesData[index][0]
+            });
+          }
+          seriesArray.push(series);
+        }
+      }
+    }
+    return seriesArray;
+  }
+});
\ No newline at end of file

Modified: incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/summary.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/summary.js?rev=1403141&r1=1403140&r2=1403141&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/summary.js (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/views/main/service/info/summary.js Mon Oct 29 01:18:02 2012
@@ -100,6 +100,13 @@ App.MainServiceInfoSummaryView = Em.View
           summary['memory_heap_max'] = summary['memory_heap_max'].bytesToSize(2, 'parseFloat');
           summary['start_time'] = summary['start_time'].toDaysHoursMinutes();
           summary['active_time'] = summary['active_time'].toDaysHoursMinutes();
+          summary['metric_graph_views'] = [ App.ChartServiceMetricsHBASE_ClusterRequests.extend(),
+                                            App.ChartServiceMetricsHBASE_RegionServerReadWriteRequests.extend(),
+                                            App.ChartServiceMetricsHBASE_RegionServerRegions.extend(),
+                                            App.ChartServiceMetricsHBASE_RegionServerQueueSize.extend(),
+                                            App.ChartServiceMetricsHBASE_HlogSplitTime.extend(),
+                                            App.ChartServiceMetricsHBASE_HlogSplitSize.extend()
+                                            ];
         }
         summaryView.set('attributes', summary);
       }
@@ -112,9 +119,11 @@ App.MainServiceInfoSummaryView = Em.View
     var summaryTable = document.getElementById('summary-info');
     var alertsList = document.getElementById('summary-alerts-list');
     if (summaryTable && alertsList) {
-      if (summaryTable.clientHeight > alertsList.clientHeight) {
+      var rows = $(summaryTable).find('tr');
+      if (rows != null && rows.length > 0) {
         $(alertsList).attr('style', "height:" + summaryTable.clientHeight + "px;");
-      } else {
+      } else if (alertsList.clientHeight > 0) {
+        $(summaryTable).append('<tr><td></td></tr>');
         $(summaryTable).attr('style', "height:" + alertsList.clientHeight + "px;");
       }
     }