ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlun...@apache.org
Subject [40/50] [abbrv] ambari git commit: AMBARI-21498. DB consistency checker throws errors for missing 'product-info' configs after Ambari upgrade (dlysnichenko)
Date Sun, 23 Jul 2017 23:34:13 GMT
AMBARI-21498. DB consistency checker throws errors for missing 'product-info' configs after
Ambari upgrade (dlysnichenko)


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

Branch: refs/heads/branch-feature-AMBARI-14714
Commit: d999343f97fe4a92625327b6f6e48c0c7c3f3ecf
Parents: 8c15965
Author: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Authored: Thu Jul 20 13:35:19 2017 +0300
Committer: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Committed: Thu Jul 20 13:35:19 2017 +0300

----------------------------------------------------------------------
 .../java/org/apache/ambari/server/upgrade/UpgradeCatalog252.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/d999343f/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog252.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog252.java
b/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog252.java
index 0656f68..2227675 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog252.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog252.java
@@ -91,6 +91,7 @@ public class UpgradeCatalog252 extends AbstractUpgradeCatalog {
    */
   @Override
   protected void executeDMLUpdates() throws AmbariException, SQLException {
+    addNewConfigurationsFromXml();
     resetStackToolsAndFeatures();
   }
 


Mime
View raw message