You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2015/01/14 19:02:30 UTC
[3/3] ambari git commit: AMBARI-9128. Bulk Ops on slaves for a
service does not work as expected when the service is in maintenance mode
(alexantonenko)
AMBARI-9128. Bulk Ops on slaves for a service does not work as expected when the service is in maintenance mode (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/32f1b05f
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/32f1b05f
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/32f1b05f
Branch: refs/heads/trunk
Commit: 32f1b05fdf12150a23ad05616377fa41d25fd8aa
Parents: bf9f73e
Author: Alex Antonenko <hi...@gmail.com>
Authored: Wed Jan 14 19:51:25 2015 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Wed Jan 14 20:02:04 2015 +0200
----------------------------------------------------------------------
ambari-web/app/controllers/main/host.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/32f1b05f/ambari-web/app/controllers/main/host.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/host.js b/ambari-web/app/controllers/main/host.js
index b7d135a..c5baddf 100644
--- a/ambari-web/app/controllers/main/host.js
+++ b/ambari-web/app/controllers/main/host.js
@@ -720,7 +720,8 @@ App.MainHostController = Em.ArrayController.extend(App.TableServerMixin, {
state: operationData.action
},
query: 'HostRoles/component_name=' + operationData.componentName + '&HostRoles/host_name.in(' + hostsWithComponentInProperState.join(',') + ')&HostRoles/maintenance_state=OFF',
- context: operationData.message + ' ' + operationData.componentNameFormatted
+ context: operationData.message + ' ' + operationData.componentNameFormatted,
+ level: 'SERVICE'
},
success: 'bulkOperationForHostComponentsSuccessCallback'
});