You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2016/06/29 16:08:48 UTC

[2/2] ambari git commit: AMBARI-17475. Ambari try to find old jdbc etc despite reset and resetuping with another DB (aonishuk)

AMBARI-17475. Ambari try to find old jdbc etc despite reset and resetuping with another DB (aonishuk)


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

Branch: refs/heads/branch-2.4
Commit: f8bb9f850548570e1b4b2c0b6416ff84f2c05ab1
Parents: 2edf6f6
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Wed Jun 29 19:08:39 2016 +0300
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Wed Jun 29 19:08:39 2016 +0300

----------------------------------------------------------------------
 .../python/ambari_server/dbConfiguration_linux.py | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/f8bb9f85/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py b/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py
index 95c82c1..d09bd77 100644
--- a/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py
+++ b/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py
@@ -551,15 +551,15 @@ class PGConfig(LinuxDBMSConfig):
 
   # Store local database connection properties
   def _store_local_properties(self, properties, options):
-    properties.removeOldProp(JDBC_DATABASE_PROPERTY)
-    properties.removeOldProp(JDBC_DATABASE_NAME_PROPERTY)
-    properties.removeOldProp(JDBC_POSTGRES_SCHEMA_PROPERTY)
-    properties.removeOldProp(JDBC_HOSTNAME_PROPERTY)
-    properties.removeOldProp(JDBC_RCA_DRIVER_PROPERTY)
-    properties.removeOldProp(JDBC_RCA_URL_PROPERTY)
-    properties.removeOldProp(JDBC_PORT_PROPERTY)
-    properties.removeOldProp(JDBC_DRIVER_PROPERTY)
-    properties.removeOldProp(JDBC_URL_PROPERTY)
+    properties.removeProp(JDBC_DATABASE_PROPERTY)
+    properties.removeProp(JDBC_DATABASE_NAME_PROPERTY)
+    properties.removeProp(JDBC_POSTGRES_SCHEMA_PROPERTY)
+    properties.removeProp(JDBC_HOSTNAME_PROPERTY)
+    properties.removeProp(JDBC_RCA_DRIVER_PROPERTY)
+    properties.removeProp(JDBC_RCA_URL_PROPERTY)
+    properties.removeProp(JDBC_PORT_PROPERTY)
+    properties.removeProp(JDBC_DRIVER_PROPERTY)
+    properties.removeProp(JDBC_URL_PROPERTY)
 
     # Store the properties
     properties.process_pair(PERSISTENCE_TYPE_PROPERTY, self.persistence_type)