Explorar el Código

AMBARI-9865. Services > AMS page: Add charts to display performance of the AMS HBase cluster (alexantonenko)

Alex Antonenko hace 10 años
padre
commit
568e49dff5
Se han modificado 19 ficheros con 4715 adiciones y 1 borrados
  1. 716 0
      ambari-web/app/assets/data/services/metrics/ambari_metrics/master_average_load.json
  2. 720 0
      ambari-web/app/assets/data/services/metrics/ambari_metrics/regionserver_blockcache_hitpercent.json
  3. 720 0
      ambari-web/app/assets/data/services/metrics/ambari_metrics/regionserver_compaction_queue_size.json
  4. 720 0
      ambari-web/app/assets/data/services/metrics/ambari_metrics/regionserver_regions.json
  5. 720 0
      ambari-web/app/assets/data/services/metrics/ambari_metrics/regionserver_requests.json
  6. 720 0
      ambari-web/app/assets/data/services/metrics/ambari_metrics/regionserver_store_files.json
  7. 2 1
      ambari-web/app/assets/test/tests.js
  8. 9 0
      ambari-web/app/data/service_graph_config.js
  9. 13 0
      ambari-web/app/messages.js
  10. 30 0
      ambari-web/app/utils/ajax/ajax.js
  11. 7 0
      ambari-web/app/views.js
  12. 54 0
      ambari-web/app/views/main/service/info/metrics/ambari_metrics/master_average_load.js
  13. 53 0
      ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_base.js
  14. 38 0
      ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_block_cache_hit_percent.js
  15. 36 0
      ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_compaction_queue_size.js
  16. 36 0
      ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_regions.js
  17. 36 0
      ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_requests.js
  18. 36 0
      ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_store_files.js
  19. 49 0
      ambari-web/test/views/main/service/info/metrics/ambari_metrics/regionserver_base_test.js

+ 716 - 0
ambari-web/app/assets/data/services/metrics/ambari_metrics/master_average_load.json

@@ -0,0 +1,716 @@
+{
+  "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/services/AMBARI_METRICS/components/METRICS_COLLECTOR?fields=metrics/hbase/master/AverageLoad[1424948254,1424951854,15]&_=1424951853365",
+  "ServiceComponentInfo" : {
+    "cluster_name" : "c1",
+    "component_name" : "METRICS_COLLECTOR",
+    "service_name" : "AMBARI_METRICS"
+  },
+  "metrics" : {
+    "hbase" : {
+      "master" : {
+        "AverageLoad" : [
+          [
+            11.0,
+            1424948306
+          ],
+          [
+            11.0,
+            1424948321
+          ],
+          [
+            11.0,
+            1424948336
+          ],
+          [
+            11.0,
+            1424948351
+          ],
+          [
+            11.0,
+            1424948366
+          ],
+          [
+            11.0,
+            1424948381
+          ],
+          [
+            11.0,
+            1424948396
+          ],
+          [
+            11.0,
+            1424948426
+          ],
+          [
+            11.0,
+            1424948441
+          ],
+          [
+            11.0,
+            1424948456
+          ],
+          [
+            11.0,
+            1424948471
+          ],
+          [
+            11.0,
+            1424948486
+          ],
+          [
+            11.0,
+            1424948501
+          ],
+          [
+            11.0,
+            1424948516
+          ],
+          [
+            11.0,
+            1424948531
+          ],
+          [
+            11.0,
+            1424948546
+          ],
+          [
+            11.0,
+            1424948561
+          ],
+          [
+            11.0,
+            1424948576
+          ],
+          [
+            11.0,
+            1424948591
+          ],
+          [
+            11.0,
+            1424948606
+          ],
+          [
+            11.0,
+            1424948666
+          ],
+          [
+            11.0,
+            1424948681
+          ],
+          [
+            11.0,
+            1424948696
+          ],
+          [
+            11.0,
+            1424948711
+          ],
+          [
+            11.0,
+            1424948726
+          ],
+          [
+            11.0,
+            1424948741
+          ],
+          [
+            11.0,
+            1424948786
+          ],
+          [
+            11.0,
+            1424948801
+          ],
+          [
+            11.0,
+            1424948816
+          ],
+          [
+            11.0,
+            1424948831
+          ],
+          [
+            11.0,
+            1424948846
+          ],
+          [
+            11.0,
+            1424948861
+          ],
+          [
+            11.0,
+            1424948876
+          ],
+          [
+            11.0,
+            1424948906
+          ],
+          [
+            11.0,
+            1424948921
+          ],
+          [
+            11.0,
+            1424948936
+          ],
+          [
+            11.0,
+            1424948951
+          ],
+          [
+            11.0,
+            1424949026
+          ],
+          [
+            11.0,
+            1424949041
+          ],
+          [
+            11.0,
+            1424949056
+          ],
+          [
+            11.0,
+            1424949071
+          ],
+          [
+            11.0,
+            1424949086
+          ],
+          [
+            11.0,
+            1424949146
+          ],
+          [
+            11.0,
+            1424949161
+          ],
+          [
+            11.0,
+            1424949176
+          ],
+          [
+            11.0,
+            1424949191
+          ],
+          [
+            11.0,
+            1424949206
+          ],
+          [
+            11.0,
+            1424949221
+          ],
+          [
+            11.0,
+            1424949236
+          ],
+          [
+            11.0,
+            1424949266
+          ],
+          [
+            11.0,
+            1424949281
+          ],
+          [
+            11.0,
+            1424949296
+          ],
+          [
+            11.0,
+            1424949311
+          ],
+          [
+            11.0,
+            1424949326
+          ],
+          [
+            11.0,
+            1424949341
+          ],
+          [
+            11.0,
+            1424949356
+          ],
+          [
+            11.0,
+            1424949371
+          ],
+          [
+            11.0,
+            1424949386
+          ],
+          [
+            11.0,
+            1424949401
+          ],
+          [
+            11.0,
+            1424949416
+          ],
+          [
+            11.0,
+            1424949431
+          ],
+          [
+            11.0,
+            1424949446
+          ],
+          [
+            11.0,
+            1424949506
+          ],
+          [
+            11.0,
+            1424949521
+          ],
+          [
+            11.0,
+            1424949536
+          ],
+          [
+            11.0,
+            1424949551
+          ],
+          [
+            11.0,
+            1424949566
+          ],
+          [
+            11.0,
+            1424949581
+          ],
+          [
+            11.0,
+            1424949626
+          ],
+          [
+            11.0,
+            1424949641
+          ],
+          [
+            11.0,
+            1424949656
+          ],
+          [
+            11.0,
+            1424949671
+          ],
+          [
+            11.0,
+            1424949686
+          ],
+          [
+            11.0,
+            1424949701
+          ],
+          [
+            11.0,
+            1424949716
+          ],
+          [
+            11.0,
+            1424949746
+          ],
+          [
+            11.0,
+            1424949761
+          ],
+          [
+            11.0,
+            1424949776
+          ],
+          [
+            11.0,
+            1424949791
+          ],
+          [
+            11.0,
+            1424949866
+          ],
+          [
+            11.0,
+            1424949881
+          ],
+          [
+            11.0,
+            1424949896
+          ],
+          [
+            11.0,
+            1424949911
+          ],
+          [
+            11.0,
+            1424949926
+          ],
+          [
+            11.0,
+            1424949986
+          ],
+          [
+            11.0,
+            1424950001
+          ],
+          [
+            11.0,
+            1424950016
+          ],
+          [
+            11.0,
+            1424950031
+          ],
+          [
+            11.0,
+            1424950046
+          ],
+          [
+            11.0,
+            1424950061
+          ],
+          [
+            11.0,
+            1424950076
+          ],
+          [
+            11.0,
+            1424950106
+          ],
+          [
+            11.0,
+            1424950121
+          ],
+          [
+            11.0,
+            1424950136
+          ],
+          [
+            11.0,
+            1424950151
+          ],
+          [
+            11.0,
+            1424950166
+          ],
+          [
+            11.0,
+            1424950181
+          ],
+          [
+            11.0,
+            1424950196
+          ],
+          [
+            11.0,
+            1424950211
+          ],
+          [
+            11.0,
+            1424950226
+          ],
+          [
+            11.0,
+            1424950241
+          ],
+          [
+            11.0,
+            1424950256
+          ],
+          [
+            11.0,
+            1424950271
+          ],
+          [
+            11.0,
+            1424950286
+          ],
+          [
+            11.0,
+            1424950346
+          ],
+          [
+            11.0,
+            1424950361
+          ],
+          [
+            11.0,
+            1424950376
+          ],
+          [
+            11.0,
+            1424950391
+          ],
+          [
+            11.0,
+            1424950406
+          ],
+          [
+            11.0,
+            1424950421
+          ],
+          [
+            11.0,
+            1424950466
+          ],
+          [
+            11.0,
+            1424950481
+          ],
+          [
+            11.0,
+            1424950496
+          ],
+          [
+            11.0,
+            1424950511
+          ],
+          [
+            11.0,
+            1424950526
+          ],
+          [
+            11.0,
+            1424950541
+          ],
+          [
+            11.0,
+            1424950556
+          ],
+          [
+            11.0,
+            1424950586
+          ],
+          [
+            11.0,
+            1424950601
+          ],
+          [
+            11.0,
+            1424950616
+          ],
+          [
+            11.0,
+            1424950631
+          ],
+          [
+            11.0,
+            1424950706
+          ],
+          [
+            11.0,
+            1424950721
+          ],
+          [
+            11.0,
+            1424950736
+          ],
+          [
+            11.0,
+            1424950751
+          ],
+          [
+            11.0,
+            1424950766
+          ],
+          [
+            11.0,
+            1424950826
+          ],
+          [
+            11.0,
+            1424950841
+          ],
+          [
+            11.0,
+            1424950856
+          ],
+          [
+            11.0,
+            1424950871
+          ],
+          [
+            11.0,
+            1424950886
+          ],
+          [
+            11.0,
+            1424950901
+          ],
+          [
+            11.0,
+            1424950916
+          ],
+          [
+            11.0,
+            1424950946
+          ],
+          [
+            11.0,
+            1424950961
+          ],
+          [
+            11.0,
+            1424950976
+          ],
+          [
+            11.0,
+            1424950991
+          ],
+          [
+            11.0,
+            1424951006
+          ],
+          [
+            11.0,
+            1424951021
+          ],
+          [
+            11.0,
+            1424951036
+          ],
+          [
+            11.0,
+            1424951051
+          ],
+          [
+            11.0,
+            1424951066
+          ],
+          [
+            11.0,
+            1424951081
+          ],
+          [
+            11.0,
+            1424951096
+          ],
+          [
+            11.0,
+            1424951111
+          ],
+          [
+            11.0,
+            1424951126
+          ],
+          [
+            11.0,
+            1424951186
+          ],
+          [
+            11.0,
+            1424951201
+          ],
+          [
+            11.0,
+            1424951216
+          ],
+          [
+            11.0,
+            1424951231
+          ],
+          [
+            11.0,
+            1424951246
+          ],
+          [
+            11.0,
+            1424951261
+          ],
+          [
+            11.0,
+            1424951306
+          ],
+          [
+            11.0,
+            1424951321
+          ],
+          [
+            11.0,
+            1424951336
+          ],
+          [
+            11.0,
+            1424951351
+          ],
+          [
+            11.0,
+            1424951366
+          ],
+          [
+            11.0,
+            1424951381
+          ],
+          [
+            11.0,
+            1424951396
+          ],
+          [
+            11.0,
+            1424951426
+          ],
+          [
+            11.0,
+            1424951441
+          ],
+          [
+            11.0,
+            1424951456
+          ],
+          [
+            11.0,
+            1424951471
+          ],
+          [
+            11.0,
+            1424951546
+          ],
+          [
+            11.0,
+            1424951561
+          ],
+          [
+            11.0,
+            1424951576
+          ],
+          [
+            11.0,
+            1424951591
+          ],
+          [
+            11.0,
+            1424951606
+          ],
+          [
+            11.0,
+            1424951666
+          ],
+          [
+            11.0,
+            1424951681
+          ],
+          [
+            11.0,
+            1424951696
+          ],
+          [
+            11.0,
+            1424951711
+          ],
+          [
+            11.0,
+            1424951726
+          ],
+          [
+            11.0,
+            1424951741
+          ],
+          [
+            11.0,
+            1424951756
+          ]
+        ]
+      }
+    }
+  }
+}

+ 720 - 0
ambari-web/app/assets/data/services/metrics/ambari_metrics/regionserver_blockcache_hitpercent.json

@@ -0,0 +1,720 @@
+{
+  "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/services/AMBARI_METRICS/components/METRICS_COLLECTOR?fields=metrics/hbase/regionserver/blockCacheHitPercent[1424948254,1424951854,15]&_=1424951853369",
+  "ServiceComponentInfo" : {
+    "cluster_name" : "c1",
+    "component_name" : "METRICS_COLLECTOR",
+    "service_name" : "AMBARI_METRICS"
+  },
+  "metrics" : {
+    "hbase" : {
+      "regionserver" : {
+        "blockCacheHitPercent" : [
+          [
+            88.0,
+            1424948261
+          ],
+          [
+            88.0,
+            1424948306
+          ],
+          [
+            88.0,
+            1424948321
+          ],
+          [
+            88.0,
+            1424948336
+          ],
+          [
+            88.0,
+            1424948351
+          ],
+          [
+            88.0,
+            1424948366
+          ],
+          [
+            88.0,
+            1424948381
+          ],
+          [
+            88.0,
+            1424948396
+          ],
+          [
+            88.0,
+            1424948426
+          ],
+          [
+            88.0,
+            1424948441
+          ],
+          [
+            88.0,
+            1424948456
+          ],
+          [
+            88.0,
+            1424948471
+          ],
+          [
+            88.0,
+            1424948546
+          ],
+          [
+            88.0,
+            1424948561
+          ],
+          [
+            88.0,
+            1424948576
+          ],
+          [
+            88.0,
+            1424948591
+          ],
+          [
+            88.0,
+            1424948606
+          ],
+          [
+            88.0,
+            1424948666
+          ],
+          [
+            88.0,
+            1424948681
+          ],
+          [
+            88.0,
+            1424948696
+          ],
+          [
+            88.0,
+            1424948711
+          ],
+          [
+            85.5,
+            1424948726
+          ],
+          [
+            85.0,
+            1424948741
+          ],
+          [
+            85.0,
+            1424948756
+          ],
+          [
+            84.0,
+            1424948786
+          ],
+          [
+            84.0,
+            1424948801
+          ],
+          [
+            84.0,
+            1424948816
+          ],
+          [
+            84.0,
+            1424948831
+          ],
+          [
+            84.0,
+            1424948846
+          ],
+          [
+            84.0,
+            1424948861
+          ],
+          [
+            84.0,
+            1424948876
+          ],
+          [
+            84.0,
+            1424948891
+          ],
+          [
+            84.0,
+            1424948906
+          ],
+          [
+            84.0,
+            1424948921
+          ],
+          [
+            84.0,
+            1424948936
+          ],
+          [
+            84.0,
+            1424948951
+          ],
+          [
+            84.0,
+            1424948966
+          ],
+          [
+            85.0,
+            1424949026
+          ],
+          [
+            85.0,
+            1424949041
+          ],
+          [
+            85.0,
+            1424949056
+          ],
+          [
+            85.0,
+            1424949071
+          ],
+          [
+            85.0,
+            1424949086
+          ],
+          [
+            85.0,
+            1424949101
+          ],
+          [
+            85.0,
+            1424949146
+          ],
+          [
+            85.0,
+            1424949161
+          ],
+          [
+            85.0,
+            1424949176
+          ],
+          [
+            85.0,
+            1424949191
+          ],
+          [
+            85.0,
+            1424949206
+          ],
+          [
+            85.0,
+            1424949221
+          ],
+          [
+            85.0,
+            1424949236
+          ],
+          [
+            85.0,
+            1424949266
+          ],
+          [
+            85.0,
+            1424949281
+          ],
+          [
+            85.0,
+            1424949296
+          ],
+          [
+            85.0,
+            1424949311
+          ],
+          [
+            85.0,
+            1424949386
+          ],
+          [
+            85.0,
+            1424949401
+          ],
+          [
+            85.0,
+            1424949416
+          ],
+          [
+            85.0,
+            1424949431
+          ],
+          [
+            85.0,
+            1424949446
+          ],
+          [
+            85.0,
+            1424949506
+          ],
+          [
+            85.0,
+            1424949521
+          ],
+          [
+            85.0,
+            1424949536
+          ],
+          [
+            85.0,
+            1424949551
+          ],
+          [
+            85.0,
+            1424949566
+          ],
+          [
+            85.0,
+            1424949581
+          ],
+          [
+            85.0,
+            1424949596
+          ],
+          [
+            85.0,
+            1424949626
+          ],
+          [
+            85.0,
+            1424949641
+          ],
+          [
+            85.0,
+            1424949656
+          ],
+          [
+            85.0,
+            1424949671
+          ],
+          [
+            85.0,
+            1424949686
+          ],
+          [
+            85.0,
+            1424949701
+          ],
+          [
+            85.0,
+            1424949716
+          ],
+          [
+            85.0,
+            1424949731
+          ],
+          [
+            85.0,
+            1424949746
+          ],
+          [
+            85.0,
+            1424949761
+          ],
+          [
+            85.0,
+            1424949776
+          ],
+          [
+            85.0,
+            1424949791
+          ],
+          [
+            85.0,
+            1424949806
+          ],
+          [
+            85.0,
+            1424949866
+          ],
+          [
+            85.0,
+            1424949881
+          ],
+          [
+            85.5,
+            1424949896
+          ],
+          [
+            86.0,
+            1424949911
+          ],
+          [
+            86.0,
+            1424949926
+          ],
+          [
+            86.0,
+            1424949941
+          ],
+          [
+            86.0,
+            1424949986
+          ],
+          [
+            86.0,
+            1424950001
+          ],
+          [
+            86.0,
+            1424950016
+          ],
+          [
+            86.0,
+            1424950031
+          ],
+          [
+            86.0,
+            1424950046
+          ],
+          [
+            86.0,
+            1424950061
+          ],
+          [
+            86.0,
+            1424950076
+          ],
+          [
+            86.0,
+            1424950106
+          ],
+          [
+            86.0,
+            1424950121
+          ],
+          [
+            86.0,
+            1424950136
+          ],
+          [
+            86.0,
+            1424950151
+          ],
+          [
+            86.0,
+            1424950226
+          ],
+          [
+            86.0,
+            1424950241
+          ],
+          [
+            86.0,
+            1424950256
+          ],
+          [
+            86.0,
+            1424950271
+          ],
+          [
+            86.0,
+            1424950286
+          ],
+          [
+            86.0,
+            1424950346
+          ],
+          [
+            86.0,
+            1424950361
+          ],
+          [
+            86.0,
+            1424950376
+          ],
+          [
+            86.0,
+            1424950391
+          ],
+          [
+            86.0,
+            1424950406
+          ],
+          [
+            86.0,
+            1424950421
+          ],
+          [
+            86.0,
+            1424950436
+          ],
+          [
+            86.0,
+            1424950466
+          ],
+          [
+            86.0,
+            1424950481
+          ],
+          [
+            86.0,
+            1424950496
+          ],
+          [
+            86.0,
+            1424950511
+          ],
+          [
+            86.0,
+            1424950526
+          ],
+          [
+            86.0,
+            1424950541
+          ],
+          [
+            86.0,
+            1424950556
+          ],
+          [
+            86.0,
+            1424950571
+          ],
+          [
+            86.0,
+            1424950586
+          ],
+          [
+            86.0,
+            1424950601
+          ],
+          [
+            86.0,
+            1424950616
+          ],
+          [
+            86.0,
+            1424950631
+          ],
+          [
+            85.0,
+            1424950646
+          ],
+          [
+            85.0,
+            1424950706
+          ],
+          [
+            85.0,
+            1424950721
+          ],
+          [
+            85.0,
+            1424950736
+          ],
+          [
+            85.0,
+            1424950751
+          ],
+          [
+            86.0,
+            1424950766
+          ],
+          [
+            86.0,
+            1424950781
+          ],
+          [
+            86.0,
+            1424950826
+          ],
+          [
+            86.0,
+            1424950841
+          ],
+          [
+            86.0,
+            1424950856
+          ],
+          [
+            86.0,
+            1424950871
+          ],
+          [
+            86.0,
+            1424950886
+          ],
+          [
+            86.0,
+            1424950901
+          ],
+          [
+            86.0,
+            1424950916
+          ],
+          [
+            86.0,
+            1424950946
+          ],
+          [
+            86.0,
+            1424950961
+          ],
+          [
+            86.0,
+            1424950976
+          ],
+          [
+            86.0,
+            1424950991
+          ],
+          [
+            86.0,
+            1424951066
+          ],
+          [
+            86.0,
+            1424951081
+          ],
+          [
+            86.0,
+            1424951096
+          ],
+          [
+            86.0,
+            1424951111
+          ],
+          [
+            86.0,
+            1424951126
+          ],
+          [
+            86.0,
+            1424951186
+          ],
+          [
+            86.0,
+            1424951201
+          ],
+          [
+            86.0,
+            1424951216
+          ],
+          [
+            86.0,
+            1424951231
+          ],
+          [
+            86.0,
+            1424951246
+          ],
+          [
+            86.0,
+            1424951261
+          ],
+          [
+            86.0,
+            1424951276
+          ],
+          [
+            86.5,
+            1424951306
+          ],
+          [
+            87.0,
+            1424951321
+          ],
+          [
+            87.0,
+            1424951336
+          ],
+          [
+            87.0,
+            1424951351
+          ],
+          [
+            87.0,
+            1424951366
+          ],
+          [
+            87.0,
+            1424951381
+          ],
+          [
+            87.0,
+            1424951396
+          ],
+          [
+            87.0,
+            1424951411
+          ],
+          [
+            87.0,
+            1424951426
+          ],
+          [
+            87.0,
+            1424951441
+          ],
+          [
+            87.0,
+            1424951456
+          ],
+          [
+            87.0,
+            1424951471
+          ],
+          [
+            87.0,
+            1424951486
+          ],
+          [
+            87.0,
+            1424951546
+          ],
+          [
+            87.0,
+            1424951561
+          ],
+          [
+            87.0,
+            1424951576
+          ],
+          [
+            87.0,
+            1424951591
+          ],
+          [
+            87.0,
+            1424951606
+          ],
+          [
+            87.0,
+            1424951621
+          ],
+          [
+            87.0,
+            1424951666
+          ],
+          [
+            87.0,
+            1424951681
+          ],
+          [
+            87.0,
+            1424951696
+          ],
+          [
+            87.0,
+            1424951711
+          ],
+          [
+            87.0,
+            1424951726
+          ],
+          [
+            87.0,
+            1424951741
+          ],
+          [
+            87.0,
+            1424951756
+          ]
+        ]
+      }
+    }
+  }
+}

+ 720 - 0
ambari-web/app/assets/data/services/metrics/ambari_metrics/regionserver_compaction_queue_size.json

@@ -0,0 +1,720 @@
+{
+  "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/services/AMBARI_METRICS/components/METRICS_COLLECTOR?fields=metrics/hbase/regionserver/compactionQueueSize[1424948254,1424951854,15]&_=1424951853370",
+  "ServiceComponentInfo" : {
+    "cluster_name" : "c1",
+    "component_name" : "METRICS_COLLECTOR",
+    "service_name" : "AMBARI_METRICS"
+  },
+  "metrics" : {
+    "hbase" : {
+      "regionserver" : {
+        "compactionQueueSize" : [
+          [
+            0.0,
+            1424948261
+          ],
+          [
+            0.0,
+            1424948306
+          ],
+          [
+            0.0,
+            1424948321
+          ],
+          [
+            0.0,
+            1424948336
+          ],
+          [
+            0.0,
+            1424948351
+          ],
+          [
+            0.0,
+            1424948366
+          ],
+          [
+            0.0,
+            1424948381
+          ],
+          [
+            0.0,
+            1424948396
+          ],
+          [
+            0.0,
+            1424948426
+          ],
+          [
+            0.0,
+            1424948441
+          ],
+          [
+            0.0,
+            1424948456
+          ],
+          [
+            0.0,
+            1424948471
+          ],
+          [
+            0.0,
+            1424948546
+          ],
+          [
+            0.0,
+            1424948561
+          ],
+          [
+            0.0,
+            1424948576
+          ],
+          [
+            0.0,
+            1424948591
+          ],
+          [
+            0.0,
+            1424948606
+          ],
+          [
+            0.0,
+            1424948666
+          ],
+          [
+            0.0,
+            1424948681
+          ],
+          [
+            0.0,
+            1424948696
+          ],
+          [
+            0.0,
+            1424948711
+          ],
+          [
+            0.0,
+            1424948726
+          ],
+          [
+            0.0,
+            1424948741
+          ],
+          [
+            0.0,
+            1424948756
+          ],
+          [
+            0.0,
+            1424948786
+          ],
+          [
+            0.0,
+            1424948801
+          ],
+          [
+            0.0,
+            1424948816
+          ],
+          [
+            0.0,
+            1424948831
+          ],
+          [
+            0.0,
+            1424948846
+          ],
+          [
+            0.0,
+            1424948861
+          ],
+          [
+            0.0,
+            1424948876
+          ],
+          [
+            0.0,
+            1424948891
+          ],
+          [
+            0.0,
+            1424948906
+          ],
+          [
+            0.0,
+            1424948921
+          ],
+          [
+            0.0,
+            1424948936
+          ],
+          [
+            0.0,
+            1424948951
+          ],
+          [
+            0.0,
+            1424948966
+          ],
+          [
+            0.0,
+            1424949026
+          ],
+          [
+            0.0,
+            1424949041
+          ],
+          [
+            0.0,
+            1424949056
+          ],
+          [
+            0.0,
+            1424949071
+          ],
+          [
+            0.0,
+            1424949086
+          ],
+          [
+            0.0,
+            1424949101
+          ],
+          [
+            0.0,
+            1424949146
+          ],
+          [
+            0.0,
+            1424949161
+          ],
+          [
+            0.0,
+            1424949176
+          ],
+          [
+            0.0,
+            1424949191
+          ],
+          [
+            0.0,
+            1424949206
+          ],
+          [
+            0.0,
+            1424949221
+          ],
+          [
+            0.0,
+            1424949236
+          ],
+          [
+            0.0,
+            1424949266
+          ],
+          [
+            0.0,
+            1424949281
+          ],
+          [
+            0.0,
+            1424949296
+          ],
+          [
+            0.0,
+            1424949311
+          ],
+          [
+            0.0,
+            1424949386
+          ],
+          [
+            0.0,
+            1424949401
+          ],
+          [
+            0.0,
+            1424949416
+          ],
+          [
+            0.0,
+            1424949431
+          ],
+          [
+            0.0,
+            1424949446
+          ],
+          [
+            0.0,
+            1424949506
+          ],
+          [
+            0.0,
+            1424949521
+          ],
+          [
+            0.0,
+            1424949536
+          ],
+          [
+            0.0,
+            1424949551
+          ],
+          [
+            0.0,
+            1424949566
+          ],
+          [
+            0.0,
+            1424949581
+          ],
+          [
+            0.0,
+            1424949596
+          ],
+          [
+            0.0,
+            1424949626
+          ],
+          [
+            0.0,
+            1424949641
+          ],
+          [
+            0.0,
+            1424949656
+          ],
+          [
+            0.0,
+            1424949671
+          ],
+          [
+            0.0,
+            1424949686
+          ],
+          [
+            0.0,
+            1424949701
+          ],
+          [
+            0.0,
+            1424949716
+          ],
+          [
+            0.0,
+            1424949731
+          ],
+          [
+            0.0,
+            1424949746
+          ],
+          [
+            0.0,
+            1424949761
+          ],
+          [
+            0.0,
+            1424949776
+          ],
+          [
+            0.0,
+            1424949791
+          ],
+          [
+            0.0,
+            1424949806
+          ],
+          [
+            0.0,
+            1424949866
+          ],
+          [
+            0.0,
+            1424949881
+          ],
+          [
+            0.0,
+            1424949896
+          ],
+          [
+            0.0,
+            1424949911
+          ],
+          [
+            0.0,
+            1424949926
+          ],
+          [
+            0.0,
+            1424949941
+          ],
+          [
+            0.0,
+            1424949986
+          ],
+          [
+            0.0,
+            1424950001
+          ],
+          [
+            0.0,
+            1424950016
+          ],
+          [
+            0.0,
+            1424950031
+          ],
+          [
+            0.0,
+            1424950046
+          ],
+          [
+            0.0,
+            1424950061
+          ],
+          [
+            0.0,
+            1424950076
+          ],
+          [
+            0.0,
+            1424950106
+          ],
+          [
+            0.0,
+            1424950121
+          ],
+          [
+            0.0,
+            1424950136
+          ],
+          [
+            0.0,
+            1424950151
+          ],
+          [
+            0.0,
+            1424950226
+          ],
+          [
+            0.0,
+            1424950241
+          ],
+          [
+            0.0,
+            1424950256
+          ],
+          [
+            0.0,
+            1424950271
+          ],
+          [
+            0.0,
+            1424950286
+          ],
+          [
+            0.0,
+            1424950346
+          ],
+          [
+            0.0,
+            1424950361
+          ],
+          [
+            0.0,
+            1424950376
+          ],
+          [
+            0.0,
+            1424950391
+          ],
+          [
+            0.0,
+            1424950406
+          ],
+          [
+            0.0,
+            1424950421
+          ],
+          [
+            0.0,
+            1424950436
+          ],
+          [
+            0.0,
+            1424950466
+          ],
+          [
+            0.0,
+            1424950481
+          ],
+          [
+            0.0,
+            1424950496
+          ],
+          [
+            0.0,
+            1424950511
+          ],
+          [
+            0.0,
+            1424950526
+          ],
+          [
+            0.0,
+            1424950541
+          ],
+          [
+            0.0,
+            1424950556
+          ],
+          [
+            0.0,
+            1424950571
+          ],
+          [
+            0.0,
+            1424950586
+          ],
+          [
+            0.0,
+            1424950601
+          ],
+          [
+            0.0,
+            1424950616
+          ],
+          [
+            0.0,
+            1424950631
+          ],
+          [
+            0.0,
+            1424950646
+          ],
+          [
+            0.0,
+            1424950706
+          ],
+          [
+            0.0,
+            1424950721
+          ],
+          [
+            0.0,
+            1424950736
+          ],
+          [
+            0.0,
+            1424950751
+          ],
+          [
+            0.0,
+            1424950766
+          ],
+          [
+            0.0,
+            1424950781
+          ],
+          [
+            0.0,
+            1424950826
+          ],
+          [
+            0.0,
+            1424950841
+          ],
+          [
+            0.0,
+            1424950856
+          ],
+          [
+            0.0,
+            1424950871
+          ],
+          [
+            0.0,
+            1424950886
+          ],
+          [
+            0.0,
+            1424950901
+          ],
+          [
+            0.0,
+            1424950916
+          ],
+          [
+            0.0,
+            1424950946
+          ],
+          [
+            0.0,
+            1424950961
+          ],
+          [
+            0.0,
+            1424950976
+          ],
+          [
+            0.0,
+            1424950991
+          ],
+          [
+            0.0,
+            1424951066
+          ],
+          [
+            0.0,
+            1424951081
+          ],
+          [
+            0.0,
+            1424951096
+          ],
+          [
+            0.0,
+            1424951111
+          ],
+          [
+            0.0,
+            1424951126
+          ],
+          [
+            0.0,
+            1424951186
+          ],
+          [
+            0.0,
+            1424951201
+          ],
+          [
+            0.0,
+            1424951216
+          ],
+          [
+            0.0,
+            1424951231
+          ],
+          [
+            0.0,
+            1424951246
+          ],
+          [
+            0.0,
+            1424951261
+          ],
+          [
+            0.0,
+            1424951276
+          ],
+          [
+            0.0,
+            1424951306
+          ],
+          [
+            0.0,
+            1424951321
+          ],
+          [
+            0.0,
+            1424951336
+          ],
+          [
+            0.0,
+            1424951351
+          ],
+          [
+            0.0,
+            1424951366
+          ],
+          [
+            0.0,
+            1424951381
+          ],
+          [
+            0.0,
+            1424951396
+          ],
+          [
+            0.0,
+            1424951411
+          ],
+          [
+            0.0,
+            1424951426
+          ],
+          [
+            0.0,
+            1424951441
+          ],
+          [
+            0.0,
+            1424951456
+          ],
+          [
+            0.0,
+            1424951471
+          ],
+          [
+            0.0,
+            1424951486
+          ],
+          [
+            0.0,
+            1424951546
+          ],
+          [
+            0.0,
+            1424951561
+          ],
+          [
+            0.0,
+            1424951576
+          ],
+          [
+            0.0,
+            1424951591
+          ],
+          [
+            0.0,
+            1424951606
+          ],
+          [
+            0.0,
+            1424951621
+          ],
+          [
+            0.0,
+            1424951666
+          ],
+          [
+            0.0,
+            1424951681
+          ],
+          [
+            0.0,
+            1424951696
+          ],
+          [
+            0.0,
+            1424951711
+          ],
+          [
+            0.0,
+            1424951726
+          ],
+          [
+            0.0,
+            1424951741
+          ],
+          [
+            0.0,
+            1424951756
+          ]
+        ]
+      }
+    }
+  }
+}

+ 720 - 0
ambari-web/app/assets/data/services/metrics/ambari_metrics/regionserver_regions.json

@@ -0,0 +1,720 @@
+{
+  "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/services/AMBARI_METRICS/components/METRICS_COLLECTOR?fields=metrics/hbase/regionserver/regions[1424948254,1424951854,15]&_=1424951853367",
+  "ServiceComponentInfo" : {
+    "cluster_name" : "c1",
+    "component_name" : "METRICS_COLLECTOR",
+    "service_name" : "AMBARI_METRICS"
+  },
+  "metrics" : {
+    "hbase" : {
+      "regionserver" : {
+        "regions" : [
+          [
+            11.0,
+            1424948261
+          ],
+          [
+            11.0,
+            1424948306
+          ],
+          [
+            11.0,
+            1424948321
+          ],
+          [
+            11.0,
+            1424948336
+          ],
+          [
+            11.0,
+            1424948351
+          ],
+          [
+            11.0,
+            1424948366
+          ],
+          [
+            11.0,
+            1424948381
+          ],
+          [
+            11.0,
+            1424948396
+          ],
+          [
+            11.0,
+            1424948426
+          ],
+          [
+            11.0,
+            1424948441
+          ],
+          [
+            11.0,
+            1424948456
+          ],
+          [
+            11.0,
+            1424948471
+          ],
+          [
+            11.0,
+            1424948546
+          ],
+          [
+            11.0,
+            1424948561
+          ],
+          [
+            11.0,
+            1424948576
+          ],
+          [
+            11.0,
+            1424948591
+          ],
+          [
+            11.0,
+            1424948606
+          ],
+          [
+            11.0,
+            1424948666
+          ],
+          [
+            11.0,
+            1424948681
+          ],
+          [
+            11.0,
+            1424948696
+          ],
+          [
+            11.0,
+            1424948711
+          ],
+          [
+            11.0,
+            1424948726
+          ],
+          [
+            11.0,
+            1424948741
+          ],
+          [
+            11.0,
+            1424948756
+          ],
+          [
+            11.0,
+            1424948786
+          ],
+          [
+            11.0,
+            1424948801
+          ],
+          [
+            11.0,
+            1424948816
+          ],
+          [
+            11.0,
+            1424948831
+          ],
+          [
+            11.0,
+            1424948846
+          ],
+          [
+            11.0,
+            1424948861
+          ],
+          [
+            11.0,
+            1424948876
+          ],
+          [
+            11.0,
+            1424948891
+          ],
+          [
+            11.0,
+            1424948906
+          ],
+          [
+            11.0,
+            1424948921
+          ],
+          [
+            11.0,
+            1424948936
+          ],
+          [
+            11.0,
+            1424948951
+          ],
+          [
+            11.0,
+            1424948966
+          ],
+          [
+            11.0,
+            1424949026
+          ],
+          [
+            11.0,
+            1424949041
+          ],
+          [
+            11.0,
+            1424949056
+          ],
+          [
+            11.0,
+            1424949071
+          ],
+          [
+            11.0,
+            1424949086
+          ],
+          [
+            11.0,
+            1424949101
+          ],
+          [
+            11.0,
+            1424949146
+          ],
+          [
+            11.0,
+            1424949161
+          ],
+          [
+            11.0,
+            1424949176
+          ],
+          [
+            11.0,
+            1424949191
+          ],
+          [
+            11.0,
+            1424949206
+          ],
+          [
+            11.0,
+            1424949221
+          ],
+          [
+            11.0,
+            1424949236
+          ],
+          [
+            11.0,
+            1424949266
+          ],
+          [
+            11.0,
+            1424949281
+          ],
+          [
+            11.0,
+            1424949296
+          ],
+          [
+            11.0,
+            1424949311
+          ],
+          [
+            11.0,
+            1424949386
+          ],
+          [
+            11.0,
+            1424949401
+          ],
+          [
+            11.0,
+            1424949416
+          ],
+          [
+            11.0,
+            1424949431
+          ],
+          [
+            11.0,
+            1424949446
+          ],
+          [
+            11.0,
+            1424949506
+          ],
+          [
+            11.0,
+            1424949521
+          ],
+          [
+            11.0,
+            1424949536
+          ],
+          [
+            11.0,
+            1424949551
+          ],
+          [
+            11.0,
+            1424949566
+          ],
+          [
+            11.0,
+            1424949581
+          ],
+          [
+            11.0,
+            1424949596
+          ],
+          [
+            11.0,
+            1424949626
+          ],
+          [
+            11.0,
+            1424949641
+          ],
+          [
+            11.0,
+            1424949656
+          ],
+          [
+            11.0,
+            1424949671
+          ],
+          [
+            11.0,
+            1424949686
+          ],
+          [
+            11.0,
+            1424949701
+          ],
+          [
+            11.0,
+            1424949716
+          ],
+          [
+            11.0,
+            1424949731
+          ],
+          [
+            11.0,
+            1424949746
+          ],
+          [
+            11.0,
+            1424949761
+          ],
+          [
+            11.0,
+            1424949776
+          ],
+          [
+            11.0,
+            1424949791
+          ],
+          [
+            11.0,
+            1424949806
+          ],
+          [
+            11.0,
+            1424949866
+          ],
+          [
+            11.0,
+            1424949881
+          ],
+          [
+            11.0,
+            1424949896
+          ],
+          [
+            11.0,
+            1424949911
+          ],
+          [
+            11.0,
+            1424949926
+          ],
+          [
+            11.0,
+            1424949941
+          ],
+          [
+            11.0,
+            1424949986
+          ],
+          [
+            11.0,
+            1424950001
+          ],
+          [
+            11.0,
+            1424950016
+          ],
+          [
+            11.0,
+            1424950031
+          ],
+          [
+            11.0,
+            1424950046
+          ],
+          [
+            11.0,
+            1424950061
+          ],
+          [
+            11.0,
+            1424950076
+          ],
+          [
+            11.0,
+            1424950106
+          ],
+          [
+            11.0,
+            1424950121
+          ],
+          [
+            11.0,
+            1424950136
+          ],
+          [
+            11.0,
+            1424950151
+          ],
+          [
+            11.0,
+            1424950226
+          ],
+          [
+            11.0,
+            1424950241
+          ],
+          [
+            11.0,
+            1424950256
+          ],
+          [
+            11.0,
+            1424950271
+          ],
+          [
+            11.0,
+            1424950286
+          ],
+          [
+            11.0,
+            1424950346
+          ],
+          [
+            11.0,
+            1424950361
+          ],
+          [
+            11.0,
+            1424950376
+          ],
+          [
+            11.0,
+            1424950391
+          ],
+          [
+            11.0,
+            1424950406
+          ],
+          [
+            11.0,
+            1424950421
+          ],
+          [
+            11.0,
+            1424950436
+          ],
+          [
+            11.0,
+            1424950466
+          ],
+          [
+            11.0,
+            1424950481
+          ],
+          [
+            11.0,
+            1424950496
+          ],
+          [
+            11.0,
+            1424950511
+          ],
+          [
+            11.0,
+            1424950526
+          ],
+          [
+            11.0,
+            1424950541
+          ],
+          [
+            11.0,
+            1424950556
+          ],
+          [
+            11.0,
+            1424950571
+          ],
+          [
+            11.0,
+            1424950586
+          ],
+          [
+            11.0,
+            1424950601
+          ],
+          [
+            11.0,
+            1424950616
+          ],
+          [
+            11.0,
+            1424950631
+          ],
+          [
+            11.0,
+            1424950646
+          ],
+          [
+            11.0,
+            1424950706
+          ],
+          [
+            11.0,
+            1424950721
+          ],
+          [
+            11.0,
+            1424950736
+          ],
+          [
+            11.0,
+            1424950751
+          ],
+          [
+            11.0,
+            1424950766
+          ],
+          [
+            11.0,
+            1424950781
+          ],
+          [
+            11.0,
+            1424950826
+          ],
+          [
+            11.0,
+            1424950841
+          ],
+          [
+            11.0,
+            1424950856
+          ],
+          [
+            11.0,
+            1424950871
+          ],
+          [
+            11.0,
+            1424950886
+          ],
+          [
+            11.0,
+            1424950901
+          ],
+          [
+            11.0,
+            1424950916
+          ],
+          [
+            11.0,
+            1424950946
+          ],
+          [
+            11.0,
+            1424950961
+          ],
+          [
+            11.0,
+            1424950976
+          ],
+          [
+            11.0,
+            1424950991
+          ],
+          [
+            11.0,
+            1424951066
+          ],
+          [
+            11.0,
+            1424951081
+          ],
+          [
+            11.0,
+            1424951096
+          ],
+          [
+            11.0,
+            1424951111
+          ],
+          [
+            11.0,
+            1424951126
+          ],
+          [
+            11.0,
+            1424951186
+          ],
+          [
+            11.0,
+            1424951201
+          ],
+          [
+            11.0,
+            1424951216
+          ],
+          [
+            11.0,
+            1424951231
+          ],
+          [
+            11.0,
+            1424951246
+          ],
+          [
+            11.0,
+            1424951261
+          ],
+          [
+            11.0,
+            1424951276
+          ],
+          [
+            11.0,
+            1424951306
+          ],
+          [
+            11.0,
+            1424951321
+          ],
+          [
+            11.0,
+            1424951336
+          ],
+          [
+            11.0,
+            1424951351
+          ],
+          [
+            11.0,
+            1424951366
+          ],
+          [
+            11.0,
+            1424951381
+          ],
+          [
+            11.0,
+            1424951396
+          ],
+          [
+            11.0,
+            1424951411
+          ],
+          [
+            11.0,
+            1424951426
+          ],
+          [
+            11.0,
+            1424951441
+          ],
+          [
+            11.0,
+            1424951456
+          ],
+          [
+            11.0,
+            1424951471
+          ],
+          [
+            11.0,
+            1424951486
+          ],
+          [
+            11.0,
+            1424951546
+          ],
+          [
+            11.0,
+            1424951561
+          ],
+          [
+            11.0,
+            1424951576
+          ],
+          [
+            11.0,
+            1424951591
+          ],
+          [
+            11.0,
+            1424951606
+          ],
+          [
+            11.0,
+            1424951621
+          ],
+          [
+            11.0,
+            1424951666
+          ],
+          [
+            11.0,
+            1424951681
+          ],
+          [
+            11.0,
+            1424951696
+          ],
+          [
+            11.0,
+            1424951711
+          ],
+          [
+            11.0,
+            1424951726
+          ],
+          [
+            11.0,
+            1424951741
+          ],
+          [
+            11.0,
+            1424951756
+          ]
+        ]
+      }
+    }
+  }
+}

+ 720 - 0
ambari-web/app/assets/data/services/metrics/ambari_metrics/regionserver_requests.json

@@ -0,0 +1,720 @@
+{
+  "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/services/AMBARI_METRICS/components/METRICS_COLLECTOR?fields=metrics/hbase/regionserver/requests[1424948254,1424951854,15]&_=1424951853368",
+  "ServiceComponentInfo" : {
+    "cluster_name" : "c1",
+    "component_name" : "METRICS_COLLECTOR",
+    "service_name" : "AMBARI_METRICS"
+  },
+  "metrics" : {
+    "hbase" : {
+      "regionserver" : {
+        "requests" : [
+          [
+            302.0,
+            1424948261
+          ],
+          [
+            57.5,
+            1424948306
+          ],
+          [
+            176.0,
+            1424948321
+          ],
+          [
+            348.5,
+            1424948336
+          ],
+          [
+            158.0,
+            1424948351
+          ],
+          [
+            2260.0,
+            1424948366
+          ],
+          [
+            44.0,
+            1424948381
+          ],
+          [
+            239.0,
+            1424948396
+          ],
+          [
+            71.5,
+            1424948426
+          ],
+          [
+            28.0,
+            1424948441
+          ],
+          [
+            103.0,
+            1424948456
+          ],
+          [
+            416.0,
+            1424948471
+          ],
+          [
+            377.0,
+            1424948546
+          ],
+          [
+            58.0,
+            1424948561
+          ],
+          [
+            44.5,
+            1424948576
+          ],
+          [
+            158.0,
+            1424948591
+          ],
+          [
+            2387.5,
+            1424948606
+          ],
+          [
+            116.5,
+            1424948666
+          ],
+          [
+            316.0,
+            1424948681
+          ],
+          [
+            219.5,
+            1424948696
+          ],
+          [
+            1014.0,
+            1424948711
+          ],
+          [
+            2162.0,
+            1424948726
+          ],
+          [
+            132.0,
+            1424948741
+          ],
+          [
+            332.0,
+            1424948756
+          ],
+          [
+            463.5,
+            1424948786
+          ],
+          [
+            58.0,
+            1424948801
+          ],
+          [
+            232.0,
+            1424948816
+          ],
+          [
+            509.0,
+            1424948831
+          ],
+          [
+            2588.5,
+            1424948846
+          ],
+          [
+            44.0,
+            1424948861
+          ],
+          [
+            96.5,
+            1424948876
+          ],
+          [
+            446.0,
+            1424948891
+          ],
+          [
+            233.0,
+            1424948906
+          ],
+          [
+            56.0,
+            1424948921
+          ],
+          [
+            44.0,
+            1424948936
+          ],
+          [
+            246.0,
+            1424948951
+          ],
+          [
+            5999.0,
+            1424948966
+          ],
+          [
+            260.5,
+            1424949026
+          ],
+          [
+            409.0,
+            1424949041
+          ],
+          [
+            43.0,
+            1424949056
+          ],
+          [
+            158.0,
+            1424949071
+          ],
+          [
+            1949.5,
+            1424949086
+          ],
+          [
+            332.0,
+            1424949101
+          ],
+          [
+            57.5,
+            1424949146
+          ],
+          [
+            146.0,
+            1424949161
+          ],
+          [
+            365.0,
+            1424949176
+          ],
+          [
+            128.0,
+            1424949191
+          ],
+          [
+            2275.0,
+            1424949206
+          ],
+          [
+            14.0,
+            1424949221
+          ],
+          [
+            239.0,
+            1424949236
+          ],
+          [
+            71.5,
+            1424949266
+          ],
+          [
+            58.0,
+            1424949281
+          ],
+          [
+            88.0,
+            1424949296
+          ],
+          [
+            1304.0,
+            1424949311
+          ],
+          [
+            377.0,
+            1424949386
+          ],
+          [
+            28.0,
+            1424949401
+          ],
+          [
+            58.0,
+            1424949416
+          ],
+          [
+            128.0,
+            1424949431
+          ],
+          [
+            2402.5,
+            1424949446
+          ],
+          [
+            116.5,
+            1424949506
+          ],
+          [
+            346.0,
+            1424949521
+          ],
+          [
+            204.5,
+            1424949536
+          ],
+          [
+            186.0,
+            1424949551
+          ],
+          [
+            2145.0,
+            1424949566
+          ],
+          [
+            162.0,
+            1424949581
+          ],
+          [
+            302.0,
+            1424949596
+          ],
+          [
+            71.5,
+            1424949626
+          ],
+          [
+            28.0,
+            1424949641
+          ],
+          [
+            247.0,
+            1424949656
+          ],
+          [
+            479.0,
+            1424949671
+          ],
+          [
+            2603.5,
+            1424949686
+          ],
+          [
+            14.0,
+            1424949701
+          ],
+          [
+            95.0,
+            1424949716
+          ],
+          [
+            446.0,
+            1424949731
+          ],
+          [
+            233.0,
+            1424949746
+          ],
+          [
+            86.0,
+            1424949761
+          ],
+          [
+            30.5,
+            1424949776
+          ],
+          [
+            276.0,
+            1424949791
+          ],
+          [
+            5969.0,
+            1424949806
+          ],
+          [
+            260.5,
+            1424949866
+          ],
+          [
+            379.0,
+            1424949881
+          ],
+          [
+            58.0,
+            1424949896
+          ],
+          [
+            986.0,
+            1424949911
+          ],
+          [
+            1964.5,
+            1424949926
+          ],
+          [
+            302.0,
+            1424949941
+          ],
+          [
+            57.5,
+            1424949986
+          ],
+          [
+            176.0,
+            1424950001
+          ],
+          [
+            348.5,
+            1424950016
+          ],
+          [
+            158.0,
+            1424950031
+          ],
+          [
+            2260.0,
+            1424950046
+          ],
+          [
+            44.0,
+            1424950061
+          ],
+          [
+            240.5,
+            1424950076
+          ],
+          [
+            71.5,
+            1424950106
+          ],
+          [
+            28.0,
+            1424950121
+          ],
+          [
+            103.0,
+            1424950136
+          ],
+          [
+            416.0,
+            1424950151
+          ],
+          [
+            377.0,
+            1424950226
+          ],
+          [
+            58.0,
+            1424950241
+          ],
+          [
+            43.0,
+            1424950256
+          ],
+          [
+            158.0,
+            1424950271
+          ],
+          [
+            2387.5,
+            1424950286
+          ],
+          [
+            116.5,
+            1424950346
+          ],
+          [
+            316.0,
+            1424950361
+          ],
+          [
+            221.0,
+            1424950376
+          ],
+          [
+            156.0,
+            1424950391
+          ],
+          [
+            2160.0,
+            1424950406
+          ],
+          [
+            132.0,
+            1424950421
+          ],
+          [
+            332.0,
+            1424950436
+          ],
+          [
+            71.5,
+            1424950466
+          ],
+          [
+            58.0,
+            1424950481
+          ],
+          [
+            232.0,
+            1424950496
+          ],
+          [
+            1367.0,
+            1424950511
+          ],
+          [
+            2588.5,
+            1424950526
+          ],
+          [
+            44.0,
+            1424950541
+          ],
+          [
+            95.0,
+            1424950556
+          ],
+          [
+            446.0,
+            1424950571
+          ],
+          [
+            233.0,
+            1424950586
+          ],
+          [
+            56.0,
+            1424950601
+          ],
+          [
+            44.0,
+            1424950616
+          ],
+          [
+            246.0,
+            1424950631
+          ],
+          [
+            5999.0,
+            1424950646
+          ],
+          [
+            260.5,
+            1424950706
+          ],
+          [
+            409.0,
+            1424950721
+          ],
+          [
+            43.0,
+            1424950736
+          ],
+          [
+            158.0,
+            1424950751
+          ],
+          [
+            1949.5,
+            1424950766
+          ],
+          [
+            332.0,
+            1424950781
+          ],
+          [
+            57.5,
+            1424950826
+          ],
+          [
+            146.0,
+            1424950841
+          ],
+          [
+            363.5,
+            1424950856
+          ],
+          [
+            128.0,
+            1424950871
+          ],
+          [
+            2275.0,
+            1424950886
+          ],
+          [
+            14.0,
+            1424950901
+          ],
+          [
+            239.0,
+            1424950916
+          ],
+          [
+            71.5,
+            1424950946
+          ],
+          [
+            58.0,
+            1424950961
+          ],
+          [
+            89.5,
+            1424950976
+          ],
+          [
+            446.0,
+            1424950991
+          ],
+          [
+            377.0,
+            1424951066
+          ],
+          [
+            28.0,
+            1424951081
+          ],
+          [
+            58.0,
+            1424951096
+          ],
+          [
+            986.0,
+            1424951111
+          ],
+          [
+            2402.5,
+            1424951126
+          ],
+          [
+            116.5,
+            1424951186
+          ],
+          [
+            346.0,
+            1424951201
+          ],
+          [
+            204.5,
+            1424951216
+          ],
+          [
+            186.0,
+            1424951231
+          ],
+          [
+            2145.0,
+            1424951246
+          ],
+          [
+            162.0,
+            1424951261
+          ],
+          [
+            302.0,
+            1424951276
+          ],
+          [
+            81.0,
+            1424951306
+          ],
+          [
+            58.0,
+            1424951321
+          ],
+          [
+            244.0,
+            1424951336
+          ],
+          [
+            540.0,
+            1424951351
+          ],
+          [
+            2590.0,
+            1424951366
+          ],
+          [
+            47.0,
+            1424951381
+          ],
+          [
+            103.5,
+            1424951396
+          ],
+          [
+            1307.0,
+            1424951411
+          ],
+          [
+            248.5,
+            1424951426
+          ],
+          [
+            127.0,
+            1424951441
+          ],
+          [
+            67.0,
+            1424951456
+          ],
+          [
+            232.0,
+            1424951471
+          ],
+          [
+            5941.0,
+            1424951486
+          ],
+          [
+            231.5,
+            1424951546
+          ],
+          [
+            351.0,
+            1424951561
+          ],
+          [
+            15.5,
+            1424951576
+          ],
+          [
+            114.0,
+            1424951591
+          ],
+          [
+            1913.5,
+            1424951606
+          ],
+          [
+            288.0,
+            1424951621
+          ],
+          [
+            45.0,
+            1424951666
+          ],
+          [
+            118.0,
+            1424951681
+          ],
+          [
+            319.5,
+            1424951696
+          ],
+          [
+            972.0,
+            1424951711
+          ],
+          [
+            2224.0,
+            1424951726
+          ],
+          [
+            0.0,
+            1424951741
+          ],
+          [
+            247.5,
+            1424951756
+          ]
+        ]
+      }
+    }
+  }
+}

+ 720 - 0
ambari-web/app/assets/data/services/metrics/ambari_metrics/regionserver_store_files.json

@@ -0,0 +1,720 @@
+{
+  "href": "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/services/AMBARI_METRICS/components/METRICS_COLLECTOR?fields=metrics/hbase/regionserver/storefiles[1424948254,1424951854,15]&_=1424951853366",
+  "ServiceComponentInfo": {
+    "cluster_name": "c1",
+    "component_name": "METRICS_COLLECTOR",
+    "service_name": "AMBARI_METRICS"
+  },
+  "metrics": {
+    "hbase": {
+      "regionserver": {
+        "storefiles": [
+          [
+            9.0,
+            1424948261
+          ],
+          [
+            9.0,
+            1424948306
+          ],
+          [
+            9.0,
+            1424948321
+          ],
+          [
+            9.0,
+            1424948336
+          ],
+          [
+            9.0,
+            1424948351
+          ],
+          [
+            9.0,
+            1424948366
+          ],
+          [
+            9.0,
+            1424948381
+          ],
+          [
+            9.0,
+            1424948396
+          ],
+          [
+            9.0,
+            1424948426
+          ],
+          [
+            9.0,
+            1424948441
+          ],
+          [
+            9.0,
+            1424948456
+          ],
+          [
+            9.0,
+            1424948471
+          ],
+          [
+            9.0,
+            1424948546
+          ],
+          [
+            9.0,
+            1424948561
+          ],
+          [
+            9.0,
+            1424948576
+          ],
+          [
+            9.0,
+            1424948591
+          ],
+          [
+            9.0,
+            1424948606
+          ],
+          [
+            9.0,
+            1424948666
+          ],
+          [
+            9.0,
+            1424948681
+          ],
+          [
+            9.0,
+            1424948696
+          ],
+          [
+            9.0,
+            1424948711
+          ],
+          [
+            8.5,
+            1424948726
+          ],
+          [
+            8.0,
+            1424948741
+          ],
+          [
+            8.0,
+            1424948756
+          ],
+          [
+            8.5,
+            1424948786
+          ],
+          [
+            10.0,
+            1424948801
+          ],
+          [
+            10.0,
+            1424948816
+          ],
+          [
+            10.0,
+            1424948831
+          ],
+          [
+            10.0,
+            1424948846
+          ],
+          [
+            10.0,
+            1424948861
+          ],
+          [
+            10.0,
+            1424948876
+          ],
+          [
+            10.0,
+            1424948891
+          ],
+          [
+            10.0,
+            1424948906
+          ],
+          [
+            10.0,
+            1424948921
+          ],
+          [
+            10.0,
+            1424948936
+          ],
+          [
+            10.0,
+            1424948951
+          ],
+          [
+            10.0,
+            1424948966
+          ],
+          [
+            10.0,
+            1424949026
+          ],
+          [
+            10.0,
+            1424949041
+          ],
+          [
+            10.0,
+            1424949056
+          ],
+          [
+            10.0,
+            1424949071
+          ],
+          [
+            10.0,
+            1424949086
+          ],
+          [
+            10.0,
+            1424949101
+          ],
+          [
+            10.0,
+            1424949146
+          ],
+          [
+            10.0,
+            1424949161
+          ],
+          [
+            10.0,
+            1424949176
+          ],
+          [
+            10.0,
+            1424949191
+          ],
+          [
+            10.0,
+            1424949206
+          ],
+          [
+            10.0,
+            1424949221
+          ],
+          [
+            10.0,
+            1424949236
+          ],
+          [
+            10.0,
+            1424949266
+          ],
+          [
+            10.0,
+            1424949281
+          ],
+          [
+            10.0,
+            1424949296
+          ],
+          [
+            10.0,
+            1424949311
+          ],
+          [
+            10.0,
+            1424949386
+          ],
+          [
+            10.0,
+            1424949401
+          ],
+          [
+            10.0,
+            1424949416
+          ],
+          [
+            10.0,
+            1424949431
+          ],
+          [
+            10.0,
+            1424949446
+          ],
+          [
+            10.0,
+            1424949506
+          ],
+          [
+            10.0,
+            1424949521
+          ],
+          [
+            10.0,
+            1424949536
+          ],
+          [
+            10.0,
+            1424949551
+          ],
+          [
+            10.0,
+            1424949566
+          ],
+          [
+            10.0,
+            1424949581
+          ],
+          [
+            10.0,
+            1424949596
+          ],
+          [
+            10.0,
+            1424949626
+          ],
+          [
+            10.0,
+            1424949641
+          ],
+          [
+            10.0,
+            1424949656
+          ],
+          [
+            10.0,
+            1424949671
+          ],
+          [
+            10.0,
+            1424949686
+          ],
+          [
+            10.0,
+            1424949701
+          ],
+          [
+            10.0,
+            1424949716
+          ],
+          [
+            10.0,
+            1424949731
+          ],
+          [
+            10.0,
+            1424949746
+          ],
+          [
+            10.0,
+            1424949761
+          ],
+          [
+            10.0,
+            1424949776
+          ],
+          [
+            10.0,
+            1424949791
+          ],
+          [
+            10.0,
+            1424949806
+          ],
+          [
+            10.0,
+            1424949866
+          ],
+          [
+            10.0,
+            1424949881
+          ],
+          [
+            10.0,
+            1424949896
+          ],
+          [
+            10.0,
+            1424949911
+          ],
+          [
+            10.0,
+            1424949926
+          ],
+          [
+            10.0,
+            1424949941
+          ],
+          [
+            10.0,
+            1424949986
+          ],
+          [
+            10.0,
+            1424950001
+          ],
+          [
+            10.0,
+            1424950016
+          ],
+          [
+            10.0,
+            1424950031
+          ],
+          [
+            10.0,
+            1424950046
+          ],
+          [
+            10.0,
+            1424950061
+          ],
+          [
+            10.0,
+            1424950076
+          ],
+          [
+            10.0,
+            1424950106
+          ],
+          [
+            10.0,
+            1424950121
+          ],
+          [
+            10.0,
+            1424950136
+          ],
+          [
+            10.0,
+            1424950151
+          ],
+          [
+            10.0,
+            1424950226
+          ],
+          [
+            10.0,
+            1424950241
+          ],
+          [
+            10.0,
+            1424950256
+          ],
+          [
+            10.0,
+            1424950271
+          ],
+          [
+            10.0,
+            1424950286
+          ],
+          [
+            10.0,
+            1424950346
+          ],
+          [
+            10.0,
+            1424950361
+          ],
+          [
+            10.0,
+            1424950376
+          ],
+          [
+            10.0,
+            1424950391
+          ],
+          [
+            10.0,
+            1424950406
+          ],
+          [
+            10.0,
+            1424950421
+          ],
+          [
+            10.0,
+            1424950436
+          ],
+          [
+            10.0,
+            1424950466
+          ],
+          [
+            10.0,
+            1424950481
+          ],
+          [
+            10.0,
+            1424950496
+          ],
+          [
+            10.0,
+            1424950511
+          ],
+          [
+            10.0,
+            1424950526
+          ],
+          [
+            10.0,
+            1424950541
+          ],
+          [
+            10.0,
+            1424950556
+          ],
+          [
+            10.0,
+            1424950571
+          ],
+          [
+            11.0,
+            1424950586
+          ],
+          [
+            12.0,
+            1424950601
+          ],
+          [
+            12.0,
+            1424950616
+          ],
+          [
+            12.0,
+            1424950631
+          ],
+          [
+            12.0,
+            1424950646
+          ],
+          [
+            12.0,
+            1424950706
+          ],
+          [
+            12.0,
+            1424950721
+          ],
+          [
+            12.0,
+            1424950736
+          ],
+          [
+            12.0,
+            1424950751
+          ],
+          [
+            12.0,
+            1424950766
+          ],
+          [
+            12.0,
+            1424950781
+          ],
+          [
+            12.0,
+            1424950826
+          ],
+          [
+            12.0,
+            1424950841
+          ],
+          [
+            12.0,
+            1424950856
+          ],
+          [
+            12.0,
+            1424950871
+          ],
+          [
+            12.0,
+            1424950886
+          ],
+          [
+            12.0,
+            1424950901
+          ],
+          [
+            12.0,
+            1424950916
+          ],
+          [
+            12.0,
+            1424950946
+          ],
+          [
+            12.0,
+            1424950961
+          ],
+          [
+            12.0,
+            1424950976
+          ],
+          [
+            12.0,
+            1424950991
+          ],
+          [
+            12.0,
+            1424951066
+          ],
+          [
+            12.0,
+            1424951081
+          ],
+          [
+            12.0,
+            1424951096
+          ],
+          [
+            12.0,
+            1424951111
+          ],
+          [
+            12.0,
+            1424951126
+          ],
+          [
+            12.0,
+            1424951186
+          ],
+          [
+            12.0,
+            1424951201
+          ],
+          [
+            12.0,
+            1424951216
+          ],
+          [
+            12.0,
+            1424951231
+          ],
+          [
+            12.0,
+            1424951246
+          ],
+          [
+            12.0,
+            1424951261
+          ],
+          [
+            12.0,
+            1424951276
+          ],
+          [
+            12.0,
+            1424951306
+          ],
+          [
+            12.0,
+            1424951321
+          ],
+          [
+            12.0,
+            1424951336
+          ],
+          [
+            12.0,
+            1424951351
+          ],
+          [
+            12.0,
+            1424951366
+          ],
+          [
+            12.0,
+            1424951381
+          ],
+          [
+            12.0,
+            1424951396
+          ],
+          [
+            12.0,
+            1424951411
+          ],
+          [
+            11.5,
+            1424951426
+          ],
+          [
+            11.0,
+            1424951441
+          ],
+          [
+            11.0,
+            1424951456
+          ],
+          [
+            11.0,
+            1424951471
+          ],
+          [
+            11.0,
+            1424951486
+          ],
+          [
+            12.0,
+            1424951546
+          ],
+          [
+            12.0,
+            1424951561
+          ],
+          [
+            12.0,
+            1424951576
+          ],
+          [
+            12.0,
+            1424951591
+          ],
+          [
+            12.0,
+            1424951606
+          ],
+          [
+            12.0,
+            1424951621
+          ],
+          [
+            12.0,
+            1424951666
+          ],
+          [
+            12.0,
+            1424951681
+          ],
+          [
+            12.0,
+            1424951696
+          ],
+          [
+            12.0,
+            1424951711
+          ],
+          [
+            12.0,
+            1424951726
+          ],
+          [
+            12.0,
+            1424951741
+          ],
+          [
+            12.0,
+            1424951756
+          ]
+        ]
+      }
+    }
+  }
+}

+ 2 - 1
ambari-web/app/assets/test/tests.js

@@ -208,6 +208,7 @@ var files = ['test/init_model_test',
   'test/views/main/service/item_test',
   'test/views/main/service/info/config_test',
   'test/views/main/service/info/summary_test',
+  'test/views/main/service/info/metrics/ambari_metrics/regionserver_base_test',
   'test/views/main/service/services/ranger_test',
   'test/views/main/admin/highAvailability/nameNode/step1_view_test',
   'test/views/main/admin/highAvailability/nameNode/step3_view_test',
@@ -263,8 +264,8 @@ var files = ['test/init_model_test',
   'test/routes/views_test',
   //contains test with fake timers that affect Date
   'test/utils/lazy_loading_test'
-
 ];
+
 App.initialize();
 describe('Ambari Web Unit tests', function() {
 

+ 9 - 0
ambari-web/app/data/service_graph_config.js

@@ -60,6 +60,15 @@ App.service_graph_config = {
 		'HBASE_HlogSplitSize'
 	],
 
+  'ambari_metrics': [
+    'AMS_MasterAverageLoad',
+    'AMS_RegionServerStoreFiles',
+    'AMS_RegionServerRegions',
+    'AMS_RegionServerRequests',
+    'AMS_RegionServerBlockCacheHitPercent',
+    'AMS_RegionServerCompactionQueueSize'
+  ],
+
 	'flume': [
 		'Flume_ChannelSizeMMA',
 		'Flume_ChannelSizeSum',

+ 13 - 0
ambari-web/app/messages.js

@@ -1462,6 +1462,19 @@ Em.I18n.translations = {
   'services.service.summary.alerts.alertsExist': '{0} alerts',
   'services.service.summary.alerts.popup.header': 'Alerts for {0}',
 
+  'services.service.info.metrics.ambariMetrics.master.averageLoad': 'Average load',
+  'services.service.info.metrics.ambariMetrics.master.displayNames.averageLoad': 'Average load',
+  'services.service.info.metrics.ambariMetrics.regionServer.storeFiles': 'Number of StoreFiles',
+  'services.service.info.metrics.ambariMetrics.regionServer.displayNames.storeFilesCount': 'Number of StoreFiles',
+  'services.service.info.metrics.ambariMetrics.regionServer.regions': 'Number of Regions',
+  'services.service.info.metrics.ambariMetrics.regionServer.displayNames.regionsCount': 'Number of Regions',
+  'services.service.info.metrics.ambariMetrics.regionServer.requests': 'Total Request Count',
+  'services.service.info.metrics.ambariMetrics.regionServer.displayNames.requestCount': 'Total Request Count',
+  'services.service.info.metrics.ambariMetrics.regionServer.blockCacheHitPercent': 'Block Cache Hit Percent',
+  'services.service.info.metrics.ambariMetrics.regionServer.displayNames.blockCacheHitPercent': 'Block Cache Hit Percent',
+  'services.service.info.metrics.ambariMetrics.regionServer.compactionQueueSize': 'Compaction Queue Size',
+  'services.service.info.metrics.ambariMetrics.regionServer.displayNames.compactionQueueSize': 'Compaction Queue Size',
+
   'services.service.info.metrics.flume.channelFillPercent':'Channel Fill Percentage',
   'services.service.info.metrics.flume.channelSize':'Channel Size',
   'services.service.info.metrics.flume.sinkDrainSuccess':'Sink Event Drain Count',

+ 30 - 0
ambari-web/app/utils/ajax/ajax.js

@@ -877,6 +877,36 @@ var urls = {
     'mock': '/data/services/metrics/hbase/regionserver_rw_requests.json',
     'testInProduction': true
   },
+  'service.metrics.ambari_metrics.master.average_load': {
+    'real': '/clusters/{clusterName}/services/AMBARI_METRICS/components/METRICS_COLLECTOR?fields=metrics/hbase/master/AverageLoad[{fromSeconds},{toSeconds},{stepSeconds}]',
+    'mock': '/data/services/metrics/ambari_metrics/master_average_load.json',
+    'testInProduction': true
+  },
+  'service.metrics.ambari_metrics.region_server.store_files': {
+    'real': '/clusters/{clusterName}/services/AMBARI_METRICS/components/METRICS_COLLECTOR?fields=metrics/hbase/regionserver/storefiles[{fromSeconds},{toSeconds},{stepSeconds}]',
+    'mock': '/data/services/metrics/ambari_metrics/regionserver_store_files.json',
+    'testInProduction': true
+  },
+  'service.metrics.ambari_metrics.region_server.regions': {
+    'real': '/clusters/{clusterName}/services/AMBARI_METRICS/components/METRICS_COLLECTOR?fields=metrics/hbase/regionserver/regions[{fromSeconds},{toSeconds},{stepSeconds}]',
+    'mock': '/data/services/metrics/ambari_metrics/regionserver_regions.json',
+    'testInProduction': true
+  },
+  'service.metrics.ambari_metrics.region_server.request': {
+    'real': '/clusters/{clusterName}/services/AMBARI_METRICS/components/METRICS_COLLECTOR?fields=metrics/hbase/regionserver/requests[{fromSeconds},{toSeconds},{stepSeconds}]',
+    'mock': '/data/services/metrics/ambari_metrics/regionserver_requests.json',
+    'testInProduction': true
+  },
+  'service.metrics.ambari_metrics.region_server.block_cache_hit_percent': {
+    'real': '/clusters/{clusterName}/services/AMBARI_METRICS/components/METRICS_COLLECTOR?fields=metrics/hbase/regionserver/blockCacheHitPercent[{fromSeconds},{toSeconds},{stepSeconds}]',
+    'mock': '/data/services/metrics/ambari_metrics/regionserver_blockcache_hitpercent.json',
+    'testInProduction': true
+  },
+  'service.metrics.ambari_metrics.region_server.compaction_queue_size': {
+    'real': '/clusters/{clusterName}/services/AMBARI_METRICS/components/METRICS_COLLECTOR?fields=metrics/hbase/regionserver/compactionQueueSize[{fromSeconds},{toSeconds},{stepSeconds}]',
+    'mock': '/data/services/metrics/ambari_metrics/regionserver_compaction_queue_size.json',
+    'testInProduction': true
+  },
   'service.metrics.hdfs.block_status': {
     'real': '/clusters/{clusterName}/hosts/{nameNodeName}/host_components/NAMENODE?fields=metrics/dfs/FSNamesystem/PendingReplicationBlocks[{fromSeconds},{toSeconds},{stepSeconds}],metrics/dfs/FSNamesystem/UnderReplicatedBlocks[{fromSeconds},{toSeconds},{stepSeconds}]',
     'mock': '/data/services/metrics/hdfs/block_status.json',

+ 7 - 0
ambari-web/app/views.js

@@ -235,6 +235,13 @@ 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/service/info/metrics/ambari_metrics/master_average_load');
+require('views/main/service/info/metrics/ambari_metrics/regionserver_base');
+require('views/main/service/info/metrics/ambari_metrics/regionserver_store_files');
+require('views/main/service/info/metrics/ambari_metrics/regionserver_regions');
+require('views/main/service/info/metrics/ambari_metrics/regionserver_requests');
+require('views/main/service/info/metrics/ambari_metrics/regionserver_block_cache_hit_percent');
+require('views/main/service/info/metrics/ambari_metrics/regionserver_compaction_queue_size');
 require('views/main/service/info/metrics/flume/channel_sum');
 require('views/main/service/info/metrics/flume/channel_size_mma');
 require('views/main/service/info/metrics/flume/flume_incoming_sum');

+ 54 - 0
ambari-web/app/views/main/service/info/metrics/ambari_metrics/master_average_load.js

@@ -0,0 +1,54 @@
+/**
+ * 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 master avereage load
+ *
+ * @extends App.ChartLinearTimeView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartServiceMetricsAMS_MasterAverageLoad = App.ChartLinearTimeView.extend({
+  id: "service-metrics-ambari-metrics-master-average-load",
+  title: Em.I18n.t('services.service.info.metrics.ambariMetrics.master.averageLoad'),
+  ajaxIndex: 'service.metrics.ambari_metrics.master.average_load',
+
+  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 "AverageLoad":
+            displayName = Em.I18n.t('services.service.info.metrics.ambariMetrics.master.displayNames.averageLoad');
+            break;
+          default:
+            break;
+        }
+        if (seriesData) {
+          seriesArray.push(this.transformData(seriesData, displayName));
+        }
+      }
+    }
+    return seriesArray;
+  }
+});

+ 53 - 0
ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_base.js

@@ -0,0 +1,53 @@
+/**
+ * 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 a base for views showing data for HBase RegionServer
+ *
+ * @extends App.ChartLinearTimeView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartServiceMetricsAMS_RegionServerBaseView = App.ChartLinearTimeView.extend({
+  displayName: '',
+  regionServerName: '',
+
+  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,
+            seriesData = jsonData.metrics.hbase.regionserver[name];
+        switch (name) {
+          case this.regionServerName:
+            displayName = this.displayName;
+            break;
+          default:
+            break;
+        }
+        if (seriesData) {
+          seriesArray.push(this.transformData(seriesData, displayName));
+        }
+      }
+    }
+    return seriesArray;
+  }
+});

+ 38 - 0
ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_block_cache_hit_percent.js

@@ -0,0 +1,38 @@
+/**
+ * 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 RegionServer Block cache hit percent
+ *
+ * @extends App.ChartServiceMetricsAMS_RegionServerBaseView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartServiceMetricsAMS_RegionServerBlockCacheHitPercent = App.ChartServiceMetricsAMS_RegionServerBaseView.extend({
+  id: "service-metrics-ambari-metrics-region-server-block-cache-hit-percent",
+  title: Em.I18n.t('services.service.info.metrics.ambariMetrics.regionServer.blockCacheHitPercent'),
+  renderer: 'line',
+  yAxisFormatter: App.ChartLinearTimeView.PercentageFormatter,
+  ajaxIndex: 'service.metrics.ambari_metrics.region_server.block_cache_hit_percent',
+
+  displayName: Em.I18n.t('services.service.info.metrics.ambariMetrics.regionServer.displayNames.blockCacheHitPercent'),
+  regionServerName: 'blockCacheHitPercent'
+});

+ 36 - 0
ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_compaction_queue_size.js

@@ -0,0 +1,36 @@
+/**
+ * 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 RegionServer compaction queue size
+ *
+ * @extends App.ChartServiceMetricsAMS_RegionServerBaseView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartServiceMetricsAMS_RegionServerCompactionQueueSize = App.ChartServiceMetricsAMS_RegionServerBaseView.extend({
+  id: "service-metrics-ambari-metrics-region-server-compaction-queue-size",
+  title: Em.I18n.t('services.service.info.metrics.ambariMetrics.regionServer.compactionQueueSize'),
+  ajaxIndex: 'service.metrics.ambari_metrics.region_server.compaction_queue_size',
+
+  displayName: Em.I18n.t('services.service.info.metrics.ambariMetrics.regionServer.displayNames.compactionQueueSize'),
+  regionServerName: 'compactionQueueSize'
+});

+ 36 - 0
ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_regions.js

@@ -0,0 +1,36 @@
+/**
+ * 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 RegionServer regions
+ *
+ * @extends App.ChartServiceMetricsAMS_RegionServerBaseView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartServiceMetricsAMS_RegionServerRegions = App.ChartServiceMetricsAMS_RegionServerBaseView.extend({
+  id: "service-metrics-ambari-metrics-region-server-regions",
+  title: Em.I18n.t('services.service.info.metrics.ambariMetrics.regionServer.regions'),
+  ajaxIndex: 'service.metrics.ambari_metrics.region_server.regions',
+
+  displayName:  Em.I18n.t('services.service.info.metrics.ambariMetrics.regionServer.displayNames.regionsCount'),
+  regionServerName: 'regions'
+});

+ 36 - 0
ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_requests.js

@@ -0,0 +1,36 @@
+/**
+ * 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 RegionServer requests
+ *
+ * @extends App.ChartServiceMetricsAMS_RegionServerBaseView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartServiceMetricsAMS_RegionServerRequests = App.ChartServiceMetricsAMS_RegionServerBaseView.extend({
+  id: "service-metrics-ambari-metrics-region-server-requests",
+  title: Em.I18n.t('services.service.info.metrics.ambariMetrics.regionServer.requests'),
+  ajaxIndex: 'service.metrics.ambari_metrics.region_server.request',
+
+  displayName: Em.I18n.t('services.service.info.metrics.ambariMetrics.regionServer.displayNames.requestCount'),
+  regionServerName: 'requests'
+});

+ 36 - 0
ambari-web/app/views/main/service/info/metrics/ambari_metrics/regionserver_store_files.js

@@ -0,0 +1,36 @@
+/**
+ * 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 RegionServer store files
+ *
+ * @extends App.ChartServiceMetricsAMS_RegionServerBaseView
+ * @extends Ember.Object
+ * @extends Ember.View
+ */
+App.ChartServiceMetricsAMS_RegionServerStoreFiles = App.ChartServiceMetricsAMS_RegionServerBaseView.extend({
+  id: "service-metrics-ambari-metrics-region-server-store-files",
+  title: Em.I18n.t('services.service.info.metrics.ambariMetrics.regionServer.storeFiles'),
+  renderer: 'line',
+  ajaxIndex: 'service.metrics.ambari_metrics.region_server.store_files',
+  regionServerName: 'storefiles',
+  displayName: Em.I18n.t('services.service.info.metrics.ambariMetrics.regionServer.displayNames.storeFilesCount')
+});

+ 49 - 0
ambari-web/test/views/main/service/info/metrics/ambari_metrics/regionserver_base_test.js

@@ -0,0 +1,49 @@
+/**
+ * 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');
+require('views/main/service/info/metrics/ambari_metrics/regionserver_base');
+
+describe('App.ChartServiceMetricsAMS_RegionServerBaseView', function () {
+
+  var regionServerView = App.ChartServiceMetricsAMS_RegionServerBaseView.extend({
+    id: "service-metrics-ambari-metrics-region-server-test",
+    title: 'test-title',
+    ajaxIndex: 'service.metrics.ambari_metrics.region_server.regions',
+    displayName: 'test-display-name',
+    regionServerName: 'test'
+  }).create();
+
+  it('#transformData should transform data for regionserver requests', function () {
+    var jsonData = {
+      "metrics": {
+        "hbase": {
+          "regionserver": {
+            "test": [[11.0, 1424948261], [11.0, 1424948306], [11.0, 1424948321]]
+          }
+        }
+      }
+    };
+    var result = regionServerView.transformToSeries(jsonData);
+    expect(result[0].name === regionServerView.displayName).to.be.true;
+    expect(result[0].data.length === jsonData.metrics.hbase.regionserver['test'].length).to.be.true;
+    expect(result[0].data[0]).to.have.property('y').to.equal(11);
+    expect(result[0].data[0]).to.have.property('x').to.equal(1424948261);
+  });
+});