ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [05/50] [abbrv] ambari git commit: AMBARI-14024. Yarn hadoop.registry.rm.enabled value should be fetched from stack adviser. (addendum patch) (Jaimin)
Date Fri, 08 Jan 2016 18:15:22 GMT
AMBARI-14024. Yarn hadoop.registry.rm.enabled value should be fetched from stack adviser. (addendum
patch) (Jaimin)


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 02b5770444f9422977b907ecc255b4bad8ba1e1e
Parents: 4ec1f0e
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Tue Jan 5 12:32:27 2016 -0800
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Tue Jan 5 12:41:13 2016 -0800

----------------------------------------------------------------------
 .../app/utils/configs/config_initializer.js      | 19 -------------------
 1 file changed, 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/02b57704/ambari-web/app/utils/configs/config_initializer.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/configs/config_initializer.js b/ambari-web/app/utils/configs/config_initializer.js
index df520d2..eff83ca 100644
--- a/ambari-web/app/utils/configs/config_initializer.js
+++ b/ambari-web/app/utils/configs/config_initializer.js
@@ -137,7 +137,6 @@ App.ConfigInitializer = App.ConfigInitializerClass.create(App.MountPointsBasedIn
   }.property(''),
 
   uniqueInitializers: {
-    'hadoop.registry.rm.enabled': '_setYarnSliderDependency',
     'ranger_admin_password': '_setRangerAdminPassword',
     'hive_database': '_initHiveDatabaseValue',
     'templeton.hive.properties': '_initTempletonHiveProperties',
@@ -166,24 +165,6 @@ App.ConfigInitializer = App.ConfigInitializerClass.create(App.MountPointsBasedIn
     return configProperty;
   },
 
-
-  /**
-   * Set specific config for YARN that depends on SLIDER.
-   * TODO DELETE as soon as <code>hadoop.registry.rm.enabled</code> will be fetched
from stack adviser!
-   *
-   * @param configProperty
-   * @param localDb
-   * @param dependencies
-   * @private
-   */
-  _setYarnSliderDependency: function(configProperty, localDb, dependencies) {
-    var res = (!!dependencies.sliderSelected).toString();
-    if (Em.get(configProperty, 'value') !== res) {
-      Em.set(configProperty, 'recommendedValue', res);
-      Em.set(configProperty, 'value', res);
-    }
-  },
-
   /**
    * Unique initializer for <code>hive_database</code>-config
    *


Mime
View raw message