Vivek Sharma created AMBARI-23823: ------------------------------------- Summary: Ambari schema upgrade failed while updating ams-site config Key: AMBARI-23823 URL: https://issues.apache.org/jira/browse/AMBARI-23823 Project: Ambari Issue Type: Bug Components: ambari-server Affects Versions: 2.7.0 Reporter: Vivek Sharma Fix For: 2.7.0
Looks to be caused by the fix of AMBARI-23804 *STR* # Deployed cluster with Ambari version: 2.6.2.0-153 and HDP version: 2.6.2.0-205 # Upgrade Ambari to 2.7.0.0-493 *Result* Error during schema upgrade {code:java} 2018-05-11 07:39:03,292 INFO [main] AbstractUpgradeCatalog:644 - No changes detected to config infra-solr-env. Skipping configuration properties update 2018-05-11 07:39:03,302 INFO [main] AbstractUpgradeCatalog:644 - No changes detected to config infra-solr-security-json. Skipping configuration properties update 2018-05-11 07:39:03,303 ERROR [main] SchemaUpgradeHelper:238 - Upgrade failed. java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:542) at java.lang.Integer.parseInt(Integer.java:615) at org.apache.ambari.server.upgrade.UpgradeCatalog270.updateAmsConfigs(UpgradeCatalog270.java:1613) at org.apache.ambari.server.upgrade.UpgradeCatalog270.executeDMLUpdates(UpgradeCatalog270.java:952) at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:985) at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:236) at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:456) 2018-05-11 07:39:03,304 ERROR [main] SchemaUpgradeHelper:473 - Exception occurred during upgrade, failed org.apache.ambari.server.AmbariException: null at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:239) at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:456) Caused by: java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:542) at java.lang.Integer.parseInt(Integer.java:615) at org.apache.ambari.server.upgrade.UpgradeCatalog270.updateAmsConfigs(UpgradeCatalog270.java:1613) at org.apache.ambari.server.upgrade.UpgradeCatalog270.executeDMLUpdates(UpgradeCatalog270.java:952) at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:985) at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:236) ... 1 more 2018-05-11 07:48:36,013 INFO [main] Configuration:2786 - Reading password from existing file 2018-05-11 07:48:36,029 INFO [main] Configuration:3435 - Hosts Mapping File null 2018-05-11 07:48:36,029 INFO [main] HostsMap:60 - Using hostsmap file null{code} I don't see the config 'timeline.container-metrics.ttl' present in ams-site -- This message was sent by Atlassian JIRA (v7.6.3#76005)