You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2015/08/28 23:59:32 UTC

ambari git commit: AMBARI-12921. SQLA: DB host field for Hive service is blank after cluster installation. (jaimin)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 b396d71f2 -> 0ed0eeb49


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

Branch: refs/heads/branch-2.1
Commit: 0ed0eeb49fd585701caadb94d57f9629c2d5bc56
Parents: b396d71
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Fri Aug 28 14:58:02 2015 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Fri Aug 28 14:58:15 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/0ed0eeb4/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) {