incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yus...@apache.org
Subject [1/2] git commit: AMBARI-2777. Cannot save HDFS configs with SNN in MAINTENANCE mode. (yusaku)
Date Wed, 31 Jul 2013 18:23:07 GMT
Updated Branches:
  refs/heads/trunk 37eb38256 -> 242a0227e


AMBARI-2777. Cannot save HDFS configs with SNN in MAINTENANCE mode. (yusaku)


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

Branch: refs/heads/trunk
Commit: 242a0227e8ba5ec86ffa2a7fb5a5607d5a368221
Parents: 7c8e240
Author: Yusaku Sako <yusaku@hortonworks.com>
Authored: Tue Jul 30 19:15:40 2013 -0700
Committer: Yusaku Sako <yusaku@hortonworks.com>
Committed: Wed Jul 31 11:22:53 2013 -0700

----------------------------------------------------------------------
 ambari-web/app/models/service.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/242a0227/ambari-web/app/models/service.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/service.js b/ambari-web/app/models/service.js
index 6651117..faf4efb 100644
--- a/ambari-web/app/models/service.js
+++ b/ambari-web/app/models/service.js
@@ -91,7 +91,8 @@ App.Service = DS.Model.extend({
       if (
         _component.get('workStatus') !== App.HostComponentStatus.stopped &&
         _component.get('workStatus') !== App.HostComponentStatus.install_failed &&
-        _component.get('workStatus') !== App.HostComponentStatus.unknown
+        _component.get('workStatus') !== App.HostComponentStatus.unknown &&
+        _component.get('workStatus') !== App.HostComponentStatus.maintenance
       ) {
         flag = false;
         runningHCs.addObject(_component);


Mime
View raw message