You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2013/11/14 19:36:19 UTC

git commit: AMBARI-3771 Ambari should allow changing Ganglia cache location. (ababiichuk)

Updated Branches:
  refs/heads/trunk e3de66656 -> a4bd8e367


AMBARI-3771 Ambari should allow changing Ganglia cache location. (ababiichuk)


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

Branch: refs/heads/trunk
Commit: a4bd8e36738eee314a547be6960350bf45c4e04a
Parents: e3de666
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Thu Nov 14 20:34:11 2013 +0200
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Thu Nov 14 20:34:11 2013 +0200

----------------------------------------------------------------------
 ambari-web/app/data/HDP2/global_properties.js |  4 +++-
 ambari-web/app/data/global_properties.js      |  4 +++-
 ambari-web/app/data/service_configs.js        | 10 ++++++++++
 ambari-web/app/models/service.js              |  1 +
 4 files changed, 17 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/a4bd8e36/ambari-web/app/data/HDP2/global_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/HDP2/global_properties.js b/ambari-web/app/data/HDP2/global_properties.js
index 2a122b1..c3f2f29 100644
--- a/ambari-web/app/data/HDP2/global_properties.js
+++ b/ambari-web/app/data/HDP2/global_properties.js
@@ -1696,9 +1696,11 @@ module.exports =
       "description": "Default directory for saving the rrd files on ganglia server",
       "defaultValue": "/var/lib/ganglia/rrds",
       "displayType": "directory",
+      "isReconfigurable": true,
       "isOverridable": false,
       "domain": "global",
-      "serviceName": "MISC",
+      "isVisible": true,
+      "serviceName": "GANGLIA",
       "category": "General",
       "belongsToService":["GANGLIA"]
     }

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/a4bd8e36/ambari-web/app/data/global_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/global_properties.js b/ambari-web/app/data/global_properties.js
index da405bd..9e7bc9a 100644
--- a/ambari-web/app/data/global_properties.js
+++ b/ambari-web/app/data/global_properties.js
@@ -2036,9 +2036,11 @@ module.exports =
       "description": "Default directory for saving the rrd files on ganglia server",
       "defaultValue": "/var/lib/ganglia/rrds",
       "displayType": "directory",
+      "isReconfigurable": true,
       "isOverridable": false,
       "domain": "global",
-      "serviceName": "MISC",
+      "isVisible": true,
+      "serviceName": "GANGLIA",
       "category": "General",
       "belongsToService":["GANGLIA"]
     }

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/a4bd8e36/ambari-web/app/data/service_configs.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/service_configs.js b/ambari-web/app/data/service_configs.js
index 6858b9b..0384fb5 100644
--- a/ambari-web/app/data/service_configs.js
+++ b/ambari-web/app/data/service_configs.js
@@ -175,6 +175,16 @@ module.exports = [
   },
 
   {
+    serviceName: 'GANGLIA',
+    displayName: 'Ganglia',
+    configCategories: [
+      App.ServiceConfigCategory.create({ name: 'General', displayName : 'General'})
+    ],
+    sites: ['global'],
+    configs: []
+  },
+
+  {
     serviceName: 'HUE',
     displayName: 'Hue',
     filename: 'hue-site',

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/a4bd8e36/ambari-web/app/models/service.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/service.js b/ambari-web/app/models/service.js
index 46ed723..328279b 100644
--- a/ambari-web/app/models/service.js
+++ b/ambari-web/app/models/service.js
@@ -57,6 +57,7 @@ App.Service = DS.Model.extend({
       "PIG",
       "SQOOP",
       "NAGIOS",
+      "GANGLIA",
       "HUE"
     ];
     return configurableServices.contains(this.get('serviceName'));