ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalyi Brodetskyi" <vbrodets...@hortonworks.com>
Subject Review Request 24660: Upgrade from 1.6.0 -> 1.7.0 fails
Date Wed, 13 Aug 2014 18:01:56 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24660/
-----------------------------------------------------------

Review request for Ambari and Andrew Onischuk.


Bugs: AMBARI-6850
    https://issues.apache.org/jira/browse/AMBARI-6850


Repository: ambari


Description
-------

{code}
14:19:41,343 ERROR [main] SchemaUpgradeHelper:196 - Upgrade failed. 
org.apache.ambari.server.AmbariException: Configuration with tag 'version1' exists for 'zookeeper-env'
	at org.apache.ambari.server.controller.AmbariManagementControllerImpl.createConfiguration(AmbariManagementControllerImpl.java:635)
	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.updateConfigurationProperties(AbstractUpgradeCatalog.java:229)
	at org.apache.ambari.server.upgrade.UpgradeCatalog170.addEnvContentFields(UpgradeCatalog170.java:701)
	at org.apache.ambari.server.upgrade.UpgradeCatalog170.executeDMLUpdates(UpgradeCatalog170.java:499)
	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:277)
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:194)
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:243)
14:19:41,350 ERROR [main] SchemaUpgradeHelper:252 - Exception occured during upgrade, failed
org.apache.ambari.server.AmbariException: Configuration with tag 'version1' exists for 'zookeeper-env'
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:197)
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:243)
Caused by: org.apache.ambari.server.AmbariException: Configuration with tag 'version1' exists
for 'zookeeper-env'
	at org.apache.ambari.server.controller.AmbariManagementControllerImpl.createConfiguration(AmbariManagementControllerImpl.java:635)
	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.updateConfigurationProperties(AbstractUpgradeCatalog.java:229)
	at org.apache.ambari.server.upgrade.UpgradeCatalog170.addEnvContentFields(UpgradeCatalog170.java:701)
	at org.apache.ambari.server.upgrade.UpgradeCatalog170.executeDMLUpdates(UpgradeCatalog170.java:499)
	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:277)
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:194)
	... 1 more

{code}

Reproducable only for upgrade from 1.6.0->1.7.0, for 1.6.1->1.7.0 works fine.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
2a9ea73 

Diff: https://reviews.apache.org/r/24660/diff/


Testing
-------

test clean


Thanks,

Vitalyi Brodetskyi


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message