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/03 21:33:36 UTC

ambari git commit: AMBARI-11669. Misc fix with widgets.json. (jaimin)

Repository: ambari
Updated Branches:
  refs/heads/trunk e1314fc4c -> 42ac63163


AMBARI-11669. Misc fix with widgets.json. (jaimin)


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

Branch: refs/heads/trunk
Commit: 42ac63163eb98aa08f270abbc9c1361847633f7d
Parents: e1314fc
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Wed Jun 3 12:33:16 2015 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Wed Jun 3 12:33:22 2015 -0700

----------------------------------------------------------------------
 .../main/resources/common-services/HDFS/2.1.0.2.0/widgets.json | 2 +-
 .../resources/common-services/YARN/2.1.0.2.0/YARN_widgets.json | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/42ac6316/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 77902c6..580b129 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
@@ -250,7 +250,7 @@
           "widget_name": "NameNode Operations",
           "description": "Total number of file operation over time.",
           "widget_type": "GRAPH",
-          "is_visible": true,
+          "is_visible": false,
           "metrics": [
             {
               "name": "dfs.namenode.TotalFileOps",

http://git-wip-us.apache.org/repos/asf/ambari/blob/42ac6316/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 004b578..81c4d67 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
@@ -45,14 +45,14 @@
           "is_visible": true,
           "metrics": [
             {
-              "name": "yarn.QueueMetrics.Queue=root.default.AllocatedVCores",
+              "name": "yarn.QueueMetrics.Queue=root.AllocatedVCores",
               "metric_path": "metrics/yarn/Queue/root/AllocatedVCores",
               "service_name": "YARN",
               "component_name": "RESOURCEMANAGER",
               "host_component_criteria": "host_components/HostRoles/ha_state=ACTIVE"
             },
             {
-              "name": "yarn.QueueMetrics.Queue=root.default.AvailableVCores",
+              "name": "yarn.QueueMetrics.Queue=root.AvailableVCores",
               "metric_path": "metrics/yarn/Queue/root/AvailableVCores",
               "service_name": "YARN",
               "component_name": "RESOURCEMANAGER",
@@ -62,7 +62,7 @@
           "values": [
             {
               "name": "Total Allocatable CPU Utilized across NodeManager",
-              "value": "${(yarn.QueueMetrics.Queue=root.default.AllocatedVCores / (yarn.QueueMetrics.Queue=root.default.AllocatedVCores + yarn.QueueMetrics.Queue=root.default.AvailableVCores)) * 100}"
+              "value": "${(yarn.QueueMetrics.Queue=root.AllocatedVCores / (yarn.QueueMetrics.Queue=root.AllocatedVCores + yarn.QueueMetrics.Queue=root.AvailableVCores)) * 100}"
             }
           ],
           "properties": {