ambari git commit: AMBARI-11806. 500 errors for wigdet on HDP-2.3 stack installation. (jaimin)

2015-06-08 Thread jaimin
Repository: ambari
Updated Branches:
  refs/heads/trunk b14161906 - 125a823a2


AMBARI-11806. 500 errors for wigdet on HDP-2.3 stack installation. (jaimin)


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

Branch: refs/heads/trunk
Commit: 125a823a27066f44b57a5ef3abcdb311c4042b4d
Parents: b141619
Author: Jaimin Jetly jai...@hortonworks.com
Authored: Mon Jun 8 21:14:30 2015 -0700
Committer: Jaimin Jetly jai...@hortonworks.com
Committed: Mon Jun 8 21:15:27 2015 -0700

--
 .../HDP/2.3/services/YARN/YARN_widgets.json | 676 +++
 .../stacks/HDP/2.3/services/YARN/widgets.json   | 676 ---
 2 files changed, 676 insertions(+), 676 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/125a823a/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/YARN_widgets.json
--
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/YARN_widgets.json
 
b/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/YARN_widgets.json
new file mode 100644
index 000..5179470
--- /dev/null
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/YARN_widgets.json
@@ -0,0 +1,676 @@
+{
+  layouts: [
+{
+  layout_name: default_yarn_dashboard,
+  display_name: Standard YARN Dashboard,
+  section_name: YARN_SUMMARY,
+  widgetLayoutInfo: [
+{
+  widget_name: 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,
+  metric_path: metrics/yarn/Queue/root/AllocatedMB,
+  service_name: YARN,
+  component_name: RESOURCEMANAGER,
+  host_component_criteria: 
host_components/HostRoles/ha_state=ACTIVE
+},
+{
+  name: yarn.QueueMetrics.Queue=root.AvailableMB,
+  metric_path: metrics/yarn/Queue/root/AvailableMB,
+  service_name: YARN,
+  component_name: RESOURCEMANAGER,
+  host_component_criteria: 
host_components/HostRoles/ha_state=ACTIVE
+}
+  ],
+  values: [
+{
+  name: Memory Utilization,
+  value: ${(yarn.QueueMetrics.Queue=root.AllocatedMB / 
(yarn.QueueMetrics.Queue=root.AllocatedMB + 
yarn.QueueMetrics.Queue=root.AvailableMB)) * 100}
+}
+  ],
+  properties: {
+display_unit: %,
+graph_type: LINE,
+time_range: 1
+  }
+},
+{
+  widget_name: 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.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.AvailableVCores,
+  metric_path: metrics/yarn/Queue/root/AvailableVCores,
+  service_name: YARN,
+  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.AllocatedVCores / 
(yarn.QueueMetrics.Queue=root.AllocatedVCores + 
yarn.QueueMetrics.Queue=root.AvailableVCores)) * 100}
+}
+  ],
+  properties: {
+display_unit: %,
+graph_type: LINE,
+time_range: 1
+  }
+},
+{
+  widget_name: Bad Local Disks,
+  description: Number of unhealthy local disks across all 
NodeManagers.,
+  widget_type: NUMBER,
+  is_visible: true,
+  metrics: [
+{
+  name: yarn.NodeManagerMetrics.BadLocalDirs,
+  metric_path: metrics/yarn/BadLocalDirs,
+  service_name: YARN,
+  component_name: NODEMANAGER
+},
+{
+  name: yarn.NodeManagerMetrics.BadLogDirs,
+  metric_path: 

ambari git commit: AMBARI-11806. 500 errors for wigdet on HDP-2.3 stack installation. (jaimin)

2015-06-08 Thread jaimin
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 3a273df10 - e1ac20931


AMBARI-11806. 500 errors for wigdet on HDP-2.3 stack installation. (jaimin)


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

Branch: refs/heads/branch-2.1
Commit: e1ac209319fa3c1fcbface46acc553ff46015b73
Parents: 3a273df
Author: Jaimin Jetly jai...@hortonworks.com
Authored: Mon Jun 8 21:14:30 2015 -0700
Committer: Jaimin Jetly jai...@hortonworks.com
Committed: Mon Jun 8 21:14:30 2015 -0700

--
 .../HDP/2.3/services/YARN/YARN_widgets.json | 676 +++
 .../stacks/HDP/2.3/services/YARN/widgets.json   | 676 ---
 2 files changed, 676 insertions(+), 676 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/e1ac2093/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/YARN_widgets.json
--
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/YARN_widgets.json
 
b/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/YARN_widgets.json
new file mode 100644
index 000..5179470
--- /dev/null
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/YARN_widgets.json
@@ -0,0 +1,676 @@
+{
+  layouts: [
+{
+  layout_name: default_yarn_dashboard,
+  display_name: Standard YARN Dashboard,
+  section_name: YARN_SUMMARY,
+  widgetLayoutInfo: [
+{
+  widget_name: 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,
+  metric_path: metrics/yarn/Queue/root/AllocatedMB,
+  service_name: YARN,
+  component_name: RESOURCEMANAGER,
+  host_component_criteria: 
host_components/HostRoles/ha_state=ACTIVE
+},
+{
+  name: yarn.QueueMetrics.Queue=root.AvailableMB,
+  metric_path: metrics/yarn/Queue/root/AvailableMB,
+  service_name: YARN,
+  component_name: RESOURCEMANAGER,
+  host_component_criteria: 
host_components/HostRoles/ha_state=ACTIVE
+}
+  ],
+  values: [
+{
+  name: Memory Utilization,
+  value: ${(yarn.QueueMetrics.Queue=root.AllocatedMB / 
(yarn.QueueMetrics.Queue=root.AllocatedMB + 
yarn.QueueMetrics.Queue=root.AvailableMB)) * 100}
+}
+  ],
+  properties: {
+display_unit: %,
+graph_type: LINE,
+time_range: 1
+  }
+},
+{
+  widget_name: 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.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.AvailableVCores,
+  metric_path: metrics/yarn/Queue/root/AvailableVCores,
+  service_name: YARN,
+  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.AllocatedVCores / 
(yarn.QueueMetrics.Queue=root.AllocatedVCores + 
yarn.QueueMetrics.Queue=root.AvailableVCores)) * 100}
+}
+  ],
+  properties: {
+display_unit: %,
+graph_type: LINE,
+time_range: 1
+  }
+},
+{
+  widget_name: Bad Local Disks,
+  description: Number of unhealthy local disks across all 
NodeManagers.,
+  widget_type: NUMBER,
+  is_visible: true,
+  metrics: [
+{
+  name: yarn.NodeManagerMetrics.BadLocalDirs,
+  metric_path: metrics/yarn/BadLocalDirs,
+  service_name: YARN,
+  component_name: NODEMANAGER
+},
+{
+  name: yarn.NodeManagerMetrics.BadLogDirs,
+  metric_path: