Updated Branches: refs/heads/trunk d0aa14b64 -> 6171bda09
AMBARI-4597. When a service is in OOS mode, Restart All does not work. (onechiporenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6171bda0 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6171bda0 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6171bda0 Branch: refs/heads/trunk Commit: 6171bda09e2b5584fd840d0129826b338c33209d Parents: d0aa14b Author: Oleg Nechiporenko <onechipore...@apache.org> Authored: Tue Feb 11 14:15:18 2014 +0200 Committer: Oleg Nechiporenko <onechipore...@apache.org> Committed: Tue Feb 11 14:17:04 2014 +0200 ---------------------------------------------------------------------- ambari-web/app/utils/batch_scheduled_requests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/6171bda0/ambari-web/app/utils/batch_scheduled_requests.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/batch_scheduled_requests.js b/ambari-web/app/utils/batch_scheduled_requests.js index 68f7382..c8cd2dd 100644 --- a/ambari-web/app/utils/batch_scheduled_requests.js +++ b/ambari-web/app/utils/batch_scheduled_requests.js @@ -70,7 +70,7 @@ module.exports = { restartAllServiceHostComponents: function(serviceName, staleConfigsOnly) { var service = App.Service.find(serviceName); if (service) { - var hostComponents = service.get('hostComponents').filterProperty('passiveState','ACTIVE'); + var hostComponents = service.get('hostComponents'); if (staleConfigsOnly) { hostComponents = hostComponents.filterProperty('staleConfigs', true); }