You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2015/06/01 19:42:19 UTC

ambari git commit: AMBARI-11581. Missing description for default shipped widgets. (jaimin)

Repository: ambari
Updated Branches:
  refs/heads/trunk 5059af2eb -> 9ff3a81c5


AMBARI-11581. Missing description for default shipped widgets. (jaimin)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9ff3a81c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9ff3a81c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9ff3a81c

Branch: refs/heads/trunk
Commit: 9ff3a81c50b1469b1a7f67e632daab697cf8c6f0
Parents: 5059af2
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Mon Jun 1 10:42:03 2015 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Mon Jun 1 10:42:03 2015 -0700

----------------------------------------------------------------------
 .../HBASE/0.96.0.2.0/widgets.json               | 19 ++---
 .../common-services/HDFS/2.1.0.2.0/widgets.json | 14 +++-
 .../YARN/2.1.0.2.0/YARN_widgets.json            | 79 +++++++++++---------
 .../stacks/HDP/2.3/services/HBASE/widgets.json  | 19 ++---
 4 files changed, 76 insertions(+), 55 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9ff3a81c/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/widgets.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/widgets.json b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/widgets.json
index fee81ec..aaf3b9e 100644
--- a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/widgets.json
+++ b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/widgets.json
@@ -7,7 +7,7 @@
       "widgetLayoutInfo": [
         {
           "widget_name": "Reads and Writes",
-          "description": "This widget shows all the read requests and write requests on all regions for a RegionServer",
+          "description": "Count of read and write requests on all regions in the cluster.",
           "default_section_name": "HBASE_SUMMARY",
           "widget_type": "GRAPH",
           "is_visible": true,
@@ -60,7 +60,7 @@
         },
         {
           "widget_name": "Read Latency",
-          "description": "Widget shows 95% Read Latency",
+          "description": "maximum of 95% read latency.",
           "default_section_name": "HBASE_SUMMARY",
           "widget_type": "GRAPH",
           "is_visible": true,
@@ -86,7 +86,7 @@
         },
         {
           "widget_name": "Write Latency",
-          "description": "This widget shows 95th percentile of the write latency.",
+          "description": "maximum of 95% write latency.",
           "default_section_name": "HBASE_SUMMARY",
           "widget_type": "GRAPH",
           "is_visible": true,
@@ -142,7 +142,7 @@
         },
         {
           "widget_name": "Open Connections",
-          "description": "This widget shows number of current open connections",
+          "description": "Count of open connections across all RegionServer. This is indicative of RegionServer load in the cluster.",
           "default_section_name": "HBASE_SUMMARY",
           "widget_type": "GRAPH",
           "is_visible": true,
@@ -168,6 +168,7 @@
         },
         {
           "widget_name": "Request Handlers",
+          "description": "Count of Active handlers vs count of calls waiting in the general queue.",
           "widget_type": "GRAPH",
           "default_section_name": "HBASE_SUMMARY",
           "is_visible": true,
@@ -202,7 +203,7 @@
         },
         {
           "widget_name": "Files Local",
-          "description": "This widget shows weighted average for local files.",
+          "description": "Average percentage of local files to RegionServer in the cluster.",
           "default_section_name": "HBASE_SUMMARY",
           "widget_type": "NUMBER",
           "is_visible": true,
@@ -228,7 +229,7 @@
         },
         {
           "widget_name": "Blocked Updates",
-          "description": "Number of milliseconds updates have been blocked so the memstore can be flushed",
+          "description": "Number of milliseconds updates have been blocked so the memstore can be flushed.",
           "default_section_name": "HBASE_SUMMARY",
           "widget_type": "GRAPH",
           "is_visible": true,
@@ -254,7 +255,7 @@
         },
         {
           "widget_name": "Cluster CPU",
-          "description": "RegionServer widget for CPU utilization",
+          "description": "Percentage of CPU utilized across all RegionServer hosts.",
           "default_section_name": "HBASE_SUMMARY",
           "widget_type": "GRAPH",
           "is_visible": true,
@@ -304,7 +305,7 @@
         },
         {
           "widget_name": "Cluster Network",
-          "description": "RegionServer widget for network utilization",
+          "description": "Average of Network IO utilized across all RegionServer hosts.",
           "default_section_name": "HBASE_SUMMARY",
           "widget_type": "GRAPH",
           "is_visible": true,
@@ -339,7 +340,7 @@
         },
         {
           "widget_name": "Cluster Disk",
-          "description": "RegionServer widget for Disk throughput",
+          "description": "Sum of disk throughput for all RegionServer hosts.",
           "default_section_name": "HBASE_SUMMARY",
           "widget_type": "GRAPH",
           "is_visible": true,

http://git-wip-us.apache.org/repos/asf/ambari/blob/9ff3a81c/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/widgets.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/widgets.json b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/widgets.json
index 5a12381..77902c6 100644
--- a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/widgets.json
+++ b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/widgets.json
@@ -7,7 +7,7 @@
       "widgetLayoutInfo": [
         {
           "widget_name": "NameNode GC count",
-          "description": "This widget shows JVM Garbage collection statistics for Active NameNode",
+          "description": "Count of total garbage collections and count of major type garbage collections of the JVM.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -43,7 +43,7 @@
         },
         {
           "widget_name": "NameNode GC time",
-          "description": "This widget shows JVM Garbage collection time in major collection for Active NameNode",
+          "description": "Total time taken by major type garbage collections in milliseconds.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -69,7 +69,7 @@
         },
         {
           "widget_name": "NN Connection Load",
-          "description": "Number of open connections for Active NameNode.",
+          "description": "Number of open RPC connections being managed by NameNode.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -95,6 +95,7 @@
         },
         {
           "widget_name": "NameNode Heap",
+          "description": "Heap memory committed and Heap memory used with respect to time.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -131,6 +132,7 @@
         },
         {
           "widget_name": "NameNode Host Load",
+          "description": "Percentage of CPU and Memory resources being consumed on NameNode host.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -209,6 +211,7 @@
         },
         {
           "widget_name": "NameNode RPC",
+          "description": "Compares the average time spent for RPC request in a queue and RPC request being processed.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -245,6 +248,7 @@
         },
         {
           "widget_name": "NameNode Operations",
+          "description": "Total number of file operation over time.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -269,6 +273,7 @@
         },
         {
           "widget_name": "Failed disk volumes",
+          "description": "Number of Failed disk volumes across all DataNodes. Its indicative of HDFS bad health.",
           "widget_type": "NUMBER",
           "is_visible": true,
           "metrics": [
@@ -291,6 +296,7 @@
         },
         {
           "widget_name": "Corrupted Blocks",
+          "description": "Number represents data blocks that have become corrupted or missing. Its indicative of HDFS bad health.",
           "widget_type": "NUMBER",
           "is_visible": true,
           "metrics": [
@@ -314,6 +320,7 @@
         },
         {
           "widget_name": "Under Replicated Blocks",
+          "description": "Number represents file blocks that does not meet the replication factor criteria. Its indicative of HDFS bad health.",
           "widget_type": "NUMBER",
           "is_visible": true,
           "metrics": [
@@ -337,6 +344,7 @@
         },
         {
           "widget_name": "HDFS Space Utilization",
+          "description": "Percentage of available space used in the DFS.",
           "widget_type": "GAUGE",
           "is_visible": true,
           "metrics": [

http://git-wip-us.apache.org/repos/asf/ambari/blob/9ff3a81c/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/YARN_widgets.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/YARN_widgets.json b/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/YARN_widgets.json
index aa27213..004b578 100644
--- a/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/YARN_widgets.json
+++ b/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/YARN_widgets.json
@@ -7,27 +7,29 @@
       "widgetLayoutInfo": [
         {
           "widget_name": "Memory Utilization",
-          "description": "Memory Utilization",
+          "description": "Percentage of total memory allocated to containers running in the cluster.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
             {
-              "name": "yarn.QueueMetrics.Queue=root.AllocatedMB._sum",
-              "metric_path": "metrics/yarn/Queue/root/AllocatedMB._sum",
+              "name": "yarn.QueueMetrics.Queue=root.AllocatedMB",
+              "metric_path": "metrics/yarn/Queue/root/AllocatedMB",
               "service_name": "YARN",
-              "component_name": "RESOURCEMANAGER"
+              "component_name": "RESOURCEMANAGER",
+              "host_component_criteria": "host_components/HostRoles/ha_state=ACTIVE"
             },
             {
-              "name": "yarn.QueueMetrics.Queue=root.AvailableMB._sum",
-              "metric_path": "metrics/yarn/Queue/root/AvailableMB._sum",
+              "name": "yarn.QueueMetrics.Queue=root.AvailableMB",
+              "metric_path": "metrics/yarn/Queue/root/AvailableMB",
               "service_name": "YARN",
-              "component_name": "RESOURCEMANAGER"
+              "component_name": "RESOURCEMANAGER",
+              "host_component_criteria": "host_components/HostRoles/ha_state=ACTIVE"
             }
           ],
           "values": [
             {
               "name": "Memory Utilization",
-              "value": "${(yarn.QueueMetrics.Queue=root.AllocatedMB._sum / (yarn.QueueMetrics.Queue=root.AvailableMB._sum + yarn.QueueMetrics.Queue=root.AvailableMB._sum)) * 100}"
+              "value": "${(yarn.QueueMetrics.Queue=root.AllocatedMB / (yarn.QueueMetrics.Queue=root.AllocatedMB + yarn.QueueMetrics.Queue=root.AvailableMB)) * 100}"
             }
           ],
           "properties": {
@@ -38,27 +40,29 @@
         },
         {
           "widget_name": "CPU Utilization",
-          "description": "CPU Utilization",
+          "description": "Percentage of total virtual cores allocated to containers running in the cluster.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
             {
-              "name": "yarn.QueueMetrics.Queue=root.default.AllocatedVCores._sum",
-              "metric_path": "metrics/yarn/Queue/root/AllocatedVCores._sum",
+              "name": "yarn.QueueMetrics.Queue=root.default.AllocatedVCores",
+              "metric_path": "metrics/yarn/Queue/root/AllocatedVCores",
               "service_name": "YARN",
-              "component_name": "RESOURCEMANAGER"
+              "component_name": "RESOURCEMANAGER",
+              "host_component_criteria": "host_components/HostRoles/ha_state=ACTIVE"
             },
             {
-              "name": "yarn.QueueMetrics.Queue=root.default.AvailableVCores._sum",
-              "metric_path": "metrics/yarn/Queue/root/AvailableVCores._sum",
+              "name": "yarn.QueueMetrics.Queue=root.default.AvailableVCores",
+              "metric_path": "metrics/yarn/Queue/root/AvailableVCores",
               "service_name": "YARN",
-              "component_name": "RESOURCEMANAGER"
+              "component_name": "RESOURCEMANAGER",
+              "host_component_criteria": "host_components/HostRoles/ha_state=ACTIVE"
             }
           ],
           "values": [
             {
               "name": "Total Allocatable CPU Utilized across NodeManager",
-              "value": "${(yarn.QueueMetrics.Queue=root.default.AllocatedVCores._sum / (yarn.QueueMetrics.Queue=root.default.AllocatedVCores._sum + yarn.QueueMetrics.Queue=root.default.AvailableVCores._sum)) * 100}"
+              "value": "${(yarn.QueueMetrics.Queue=root.default.AllocatedVCores / (yarn.QueueMetrics.Queue=root.default.AllocatedVCores + yarn.QueueMetrics.Queue=root.default.AvailableVCores)) * 100}"
             }
           ],
           "properties": {
@@ -69,7 +73,7 @@
         },
         {
           "widget_name": "Bad Local Disks",
-          "description": "Number of unhealthy local disks accross all NodeManagers",
+          "description": "Number of unhealthy local disks across all NodeManagers.",
           "widget_type": "NUMBER",
           "is_visible": true,
           "metrics": [
@@ -98,7 +102,7 @@
         },
         {
           "widget_name": "Container Failures",
-          "description": "Container Failures",
+          "description": "Percentage of all containers failing in the cluster.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -153,7 +157,7 @@
         },
         {
           "widget_name": "App Failures",
-          "description": "App Failures",
+          "description": "Percentage of all launched applications failing in the cluster.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -161,37 +165,43 @@
               "name": "yarn.QueueMetrics.Queue=root.AppsFailed",
               "metric_path": "metrics/yarn/Queue/root/AppsFailed",
               "service_name": "YARN",
-              "component_name": "RESOURCEMANAGER"
+              "component_name": "RESOURCEMANAGER",
+              "host_component_criteria": "host_components/HostRoles/ha_state=ACTIVE"
             },
             {
               "name": "yarn.QueueMetrics.Queue=root.AppsKilled",
               "metric_path": "metrics/yarn/Queue/root/AppsKilled",
               "service_name": "YARN",
-              "component_name": "RESOURCEMANAGER"
+              "component_name": "RESOURCEMANAGER",
+              "host_component_criteria": "host_components/HostRoles/ha_state=ACTIVE"
             },
             {
               "name": "yarn.QueueMetrics.Queue=root.AppsPending",
               "metric_path": "metrics/yarn/Queue/root/AppsPending",
               "service_name": "YARN",
-              "component_name": "RESOURCEMANAGER"
+              "component_name": "RESOURCEMANAGER",
+              "host_component_criteria": "host_components/HostRoles/ha_state=ACTIVE"
             },
             {
               "name": "yarn.QueueMetrics.Queue=root.AppsRunning",
               "metric_path": "metrics/yarn/Queue/root/AppsRunning",
               "service_name": "YARN",
-              "component_name": "RESOURCEMANAGER"
+              "component_name": "RESOURCEMANAGER",
+              "host_component_criteria": "host_components/HostRoles/ha_state=ACTIVE"
             },
             {
               "name": "yarn.QueueMetrics.Queue=root.AppsSubmitted",
               "metric_path": "metrics/yarn/Queue/root/AppsSubmitted",
               "service_name": "YARN",
-              "component_name": "RESOURCEMANAGER"
+              "component_name": "RESOURCEMANAGER",
+              "host_component_criteria": "host_components/HostRoles/ha_state=ACTIVE"
             },
             {
               "name": "yarn.QueueMetrics.Queue=root.AppsCompleted",
               "metric_path": "metrics/yarn/Queue/root/AppsCompleted",
               "service_name": "YARN",
-              "component_name": "RESOURCEMANAGER"
+              "component_name": "RESOURCEMANAGER",
+              "host_component_criteria": "host_components/HostRoles/ha_state=ACTIVE"
             }
           ],
           "values": [
@@ -208,21 +218,22 @@
         },
         {
           "widget_name": "Pending Apps",
-          "description": "Applications in pending scheduling state for cluster",
+          "description": "Count of applications waiting for cluster resources to become available.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
             {
-              "name": "yarn.QueueMetrics.Queue=root.AppsPending._sum",
-              "metric_path": "metrics/yarn/Queue/root/AppsPending._sum",
+              "name": "yarn.QueueMetrics.Queue=root.AppsPending",
+              "metric_path": "metrics/yarn/Queue/root/AppsPending",
               "service_name": "YARN",
-              "component_name": "RESOURCEMANAGER"
+              "component_name": "RESOURCEMANAGER",
+              "host_component_criteria": "host_components/HostRoles/ha_state=ACTIVE"
             }
           ],
           "values": [
             {
               "name": "Pending Apps",
-              "value": "${yarn.QueueMetrics.Queue=root.AppsPending._sum}"
+              "value": "${yarn.QueueMetrics.Queue=root.AppsPending}"
             }
           ],
           "properties": {
@@ -233,7 +244,7 @@
         },
         {
           "widget_name": "Cluster Memory",
-          "description": "Memory utilization on NodeManager hosts",
+          "description": "Percentage of memory used across all NodeManager hosts.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -270,7 +281,7 @@
         },
         {
           "widget_name": "Cluster Disk",
-          "description": "NodeManager widget for Disk throughput",
+          "description": "Sum of disk throughput for all NodeManager hosts.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -305,7 +316,7 @@
         },
         {
           "widget_name": "Cluster Network",
-          "description": "NodeManager widget for network utilization",
+          "description": "Average of Network utilized across all NodeManager hosts.",
           "default_section_name": "YARN_SUMMARY",
           "widget_type": "GRAPH",
           "is_visible": true,
@@ -340,7 +351,7 @@
         },
         {
           "widget_name": "Cluster CPU",
-          "description": "NodeManager widget for CPU utilization",
+          "description": "Percentage of CPU utilized across all NodeManager hosts.",
           "default_section_name": "YARN_SUMMARY",
           "widget_type": "GRAPH",
           "is_visible": true,

http://git-wip-us.apache.org/repos/asf/ambari/blob/9ff3a81c/ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/widgets.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/widgets.json b/ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/widgets.json
index a1086f1..a0f5ba9 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/widgets.json
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/widgets.json
@@ -7,7 +7,7 @@
       "widgetLayoutInfo": [
         {
           "widget_name": "Reads and Writes",
-          "description": "This widget shows all the read requests and write requests on all regions for a RegionServer",
+          "description": "Count of read and write requests on all regions in the cluster.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -65,7 +65,7 @@
         },
         {
           "widget_name": "Read Latency",
-          "description": "Widget shows 95% Read Latency",
+          "description": "maximum of 95% read latency.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -100,7 +100,7 @@
         },
         {
           "widget_name": "Write Latency",
-          "description": "This widget shows 95th percentile of the write latency.",
+          "description": "maximum of 95% write latency.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -155,7 +155,7 @@
         },
         {
           "widget_name": "Open Connections",
-          "description": "This widget shows number of current open connections",
+          "description": "Count of open connections across all RegionServer. This is indicative of RegionServer load in the cluster.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -180,6 +180,7 @@
         },
         {
           "widget_name": "Request Handlers",
+          "description": "Count of Active handlers vs count of calls waiting in the general queue.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -213,7 +214,7 @@
         },
         {
           "widget_name": "Files Local",
-          "description": "This widget shows weighted average for local files.",
+          "description": "Average percentage of local files to RegionServer in the cluster.",
           "widget_type": "NUMBER",
           "is_visible": true,
           "metrics": [
@@ -238,7 +239,7 @@
         },
         {
           "widget_name": "Blocked Updates",
-          "description": "Number of milliseconds updates have been blocked so the memstore can be flushed",
+          "description": "Number of milliseconds updates have been blocked so the memstore can be flushed.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -263,7 +264,7 @@
         },
         {
           "widget_name": "Cluster CPU",
-          "description": "RegionServer widget for CPU utilization",
+          "description": "Percentage of CPU utilized across all RegionServer hosts.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -312,7 +313,7 @@
         },
         {
           "widget_name": "Cluster Network",
-          "description": "RegionServer widget for network utilization",
+          "description": "Average of Network IO utilized across all RegionServer hosts.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -346,7 +347,7 @@
         },
         {
           "widget_name": "Cluster Disk",
-          "description": "RegionServer widget for Disk throughput.",
+          "description": "Sum of disk throughput for all RegionServer hosts.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [