Repository: ambari Updated Branches: refs/heads/trunk 6bae723eb -> ab72beede
AMBARI-12921. SQLA: DB host field for Hive service is blank after cluster installation. (jaimin) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ab72beed Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ab72beed Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ab72beed Branch: refs/heads/trunk Commit: ab72beede0ebb7563c59e97a1fa62876d5f3d354 Parents: 6bae723 Author: Jaimin Jetly <[email protected]> Authored: Fri Aug 28 14:58:02 2015 -0700 Committer: Jaimin Jetly <[email protected]> Committed: Fri Aug 28 15:01:40 2015 -0700 ---------------------------------------------------------------------- ambari-web/app/utils/configs/database.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/ab72beed/ambari-web/app/utils/configs/database.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/configs/database.js b/ambari-web/app/utils/configs/database.js index 74ff642..4ad1bd1 100644 --- a/ambari-web/app/utils/configs/database.js +++ b/ambari-web/app/utils/configs/database.js @@ -61,7 +61,7 @@ module.exports = { postgres: 'jdbc:postgresql://{0}:5432/{1}', derby: 'jdbc:derby:{0}/{1}', oracle: 'jdbc:oracle:thin:@(?:\/?\/?){0}:1521(\:|\/){1}', - sqla: 'jdbc:sqlanywhere:host={0};database={1};uid={2};pwd={3}' + sqla: 'jdbc:sqlanywhere:host={0};database={1}' }, /** @@ -151,7 +151,7 @@ module.exports = { getDBLocationFromJDBC: function(jdbcUrl) { var self = this; var matches = Em.keys(this.DB_JDBC_PATTERNS).map(function(key) { - var reg = new RegExp(self.DB_JDBC_PATTERNS[key].format('(.*)', '(.*)', '(.*)', '(.*)')); + var reg = new RegExp(self.DB_JDBC_PATTERNS[key].format('(.*)', '(.*)')); return jdbcUrl.match(reg); }).compact(); if (matches.length) {
