Repository: ambari
Updated Branches:
  refs/heads/trunk 3f2478cac -> 23b2b802e


AMBARI-13185 Oozie DB hostname is not set for SQLA. (ababiichuk)


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

Branch: refs/heads/trunk
Commit: 23b2b802eb1683eb67a432a2ff14865f92593a37
Parents: 3f2478c
Author: aBabiichuk <ababiic...@cybervisiontech.com>
Authored: Mon Sep 14 11:40:26 2015 +0300
Committer: aBabiichuk <ababiic...@cybervisiontech.com>
Committed: Tue Sep 22 17:10:20 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/utils/configs/config_property_helper.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/23b2b802/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 61fb9cc..11f1d81 100644
--- a/ambari-web/app/utils/configs/config_property_helper.js
+++ b/ambari-web/app/utils/configs/config_property_helper.js
@@ -118,7 +118,7 @@ module.exports = {
         break;
       case 'oozie_hostname':
         configProperty.set('recommendedValue', 
masterComponentHostsInDB.filterProperty('component', 
'OOZIE_SERVER').mapProperty('hostName')[0]);
-        configProperty.set('value', 
masterComponentHostsInDB.filterProperty('component', 
'OOZIE_SERVER').mapProperty('hostName'));
+        configProperty.set('value', 
masterComponentHostsInDB.filterProperty('component', 
'OOZIE_SERVER').mapProperty('hostName')[0]);
         break;
       case 'oozie.base.url':
         var oozieHost = masterComponentHostsInDB.findProperty('component', 
'OOZIE_SERVER').hostName;

Reply via email to