ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiw...@apache.org
Subject [2/2] git commit: AMBARI-5530. Add ui controls for deleting + adding Ganglia Monitor to a host.(xiwang)
Date Wed, 07 May 2014 18:54:34 GMT
AMBARI-5530. Add ui controls for deleting + adding Ganglia Monitor to a host.(xiwang)


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

Branch: refs/heads/trunk
Commit: 6d2743b5eb75701e6951e252d3ee8c29f5492e72
Parents: 9eb4aaa
Author: Xi Wang <xiwang@apache.org>
Authored: Tue Apr 22 11:03:02 2014 -0700
Committer: Xi Wang <xiwang@apache.org>
Committed: Wed May 7 11:53:44 2014 -0700

----------------------------------------------------------------------
 ambari-web/app/models/stack_service_component.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/6d2743b5/ambari-web/app/models/stack_service_component.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/stack_service_component.js b/ambari-web/app/models/stack_service_component.js
index e855b31..5e48e7b 100644
--- a/ambari-web/app/models/stack_service_component.js
+++ b/ambari-web/app/models/stack_service_component.js
@@ -47,7 +47,7 @@ App.StackServiceComponent = DS.Model.extend({
   }.property('componentName'),
 
   isDeletable: function() {
-    return ['SUPERVISOR', 'HBASE_MASTER', 'DATANODE', 'TASKTRACKER', 'NODEMANAGER', 'HBASE_REGIONSERVER'].contains(this.get('componentName'));
+    return ['SUPERVISOR', 'HBASE_MASTER', 'DATANODE', 'TASKTRACKER', 'NODEMANAGER', 'HBASE_REGIONSERVER',
'GANGLIA_MONITOR'].contains(this.get('componentName'));
   }.property('componentName'),
 
   isRollinRestartAllowed: function() {
@@ -63,7 +63,7 @@ App.StackServiceComponent = DS.Model.extend({
   }.property('componentName'),
 
   isAddableToHost: function() {
-    return ["DATANODE", "TASKTRACKER", "NODEMANAGER", "HBASE_REGIONSERVER", "HBASE_MASTER",
"ZOOKEEPER_SERVER", "SUPERVISOR"].contains(this.get('componentName'));
+    return ["DATANODE", "TASKTRACKER", "NODEMANAGER", "HBASE_REGIONSERVER", "HBASE_MASTER",
"ZOOKEEPER_SERVER", "SUPERVISOR", "GANGLIA_MONITOR"].contains(this.get('componentName'));
   }.property('componentName'),
 
   isShownOnInstallerAssignMasterPage: function() {


Mime
View raw message