AMBARI-13654 Ranger DB host should be left empty by default. (ababiichuk)

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

Branch: refs/heads/trunk
Commit: 37fb051ae35f48dd11b73850ac41a916a38efded
Parents: 227bd81
Author: aBabiichuk <[email protected]>
Authored: Fri Oct 30 12:18:59 2015 +0200
Committer: aBabiichuk <[email protected]>
Committed: Fri Oct 30 12:22:37 2015 +0200

----------------------------------------------------------------------
 ambari-web/app/utils/configs/config_property_helper.js | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/37fb051a/ambari-web/app/utils/configs/config_property_helper.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/configs/config_property_helper.js 
b/ambari-web/app/utils/configs/config_property_helper.js
index 5dd5149..23759bb 100644
--- a/ambari-web/app/utils/configs/config_property_helper.js
+++ b/ambari-web/app/utils/configs/config_property_helper.js
@@ -215,13 +215,6 @@ module.exports = {
           configProperty.set('isRequired', 'false');
         }
         break;
-      case 'db_host':
-        var masterComponent =  
masterComponentHostsInDB.findProperty('component', 'RANGER_ADMIN');
-        if (masterComponent) {
-          configProperty.set('value', masterComponent.hostName);
-          configProperty.set('recommendedValue', masterComponent.hostName);
-        }
-        break;
       case 'hawq_master_address_host':
         configProperty.set('value', 
masterComponentHostsInDB.findProperty('component', 'HAWQMASTER').hostName);
         break;

Reply via email to