ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [20/50] ambari git commit: AMBARI-14111 Going back from install, start & test page HBase property "hbase.coprocessor.region.classes" is not retaining value
Date Tue, 01 Dec 2015 18:20:10 GMT
AMBARI-14111 Going back from install, start & test page HBase property "hbase.coprocessor.region.classes"
is not retaining value


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 1eb64079548342fb1550eae2cbd3ddabf9398598
Parents: c4d5ff9
Author: Andrii Tkach <atkach@hortonworks.com>
Authored: Mon Nov 30 14:24:12 2015 +0200
Committer: Andrii Tkach <atkach@hortonworks.com>
Committed: Mon Nov 30 14:24:12 2015 +0200

----------------------------------------------------------------------
 ambari-web/app/mixins/common/serverValidator.js | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/1eb64079/ambari-web/app/mixins/common/serverValidator.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/common/serverValidator.js b/ambari-web/app/mixins/common/serverValidator.js
index a1c7eba..7cfc918 100644
--- a/ambari-web/app/mixins/common/serverValidator.js
+++ b/ambari-web/app/mixins/common/serverValidator.js
@@ -121,8 +121,11 @@ App.ServerValidatorMixin = Em.Mixin.create({
    * @returns {*}
    */
   loadServerSideConfigsRecommendations: function() {
-    // if extended controller doesn't support recommendations ignore this call but keep promise
chain
-    if (!this.get('isControllerSupportsEnhancedConfigs')) {
+    /**
+     * if extended controller doesn't support recommendations or recommendations has been
already loaded
+     * ignore this call but keep promise chain
+     */
+    if (!this.get('isControllerSupportsEnhancedConfigs') || !Em.isNone(this.get('recommendationsConfigs')))
{
       return $.Deferred().resolve().promise();
     }
     var recommendations = this.get('hostGroups');


Mime
View raw message