ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject ambari git commit: AMBARI-14111 Going back from install, start & test page HBase property "hbase.coprocessor.region.classes" is not retaining value
Date Mon, 30 Nov 2015 12:53:26 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 193f42d51 -> 99c5d3f48


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/99c5d3f4
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/99c5d3f4
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/99c5d3f4

Branch: refs/heads/branch-2.1
Commit: 99c5d3f48238277712c3a98a5d2b7c223678702a
Parents: 193f42d
Author: Andrii Tkach <atkach@hortonworks.com>
Authored: Mon Nov 30 14:53:17 2015 +0200
Committer: Andrii Tkach <atkach@hortonworks.com>
Committed: Mon Nov 30 14:53:17 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/99c5d3f4/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 70d7579..9b770d1 100644
--- a/ambari-web/app/mixins/common/serverValidator.js
+++ b/ambari-web/app/mixins/common/serverValidator.js
@@ -122,8 +122,11 @@ App.ServerValidatorMixin = Em.Mixin.create({
    */
   loadServerSideConfigsRecommendations: function() {
     var self = this;
-    // 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