ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez" <>
Subject Review Request 34694: UpgradeCatalog210 fails because older schemas used different FK names for host columns
Date Wed, 27 May 2015 03:09:30 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for Ambari, Jonathan Hurley, Sumit Mohanty, and Sid Wagle.

Bugs: AMBARI-11409

Repository: ambari


When upgrading Ambari from 1.7.0 to 2.0.0 to 2.1.0, it fails because in older schemas the
FK names of columns related to the host_name changed over time.
UpgradeCatalog210 should include the older FK names, and perform a CASCADE DELETE on the hosts
PK just for good measure.


  ambari-server/src/main/java/org/apache/ambari/server/upgrade/ ace05ce



Reproduced the issue, and after patching ambari-server.jar was able to get the upgrade to
get past the Hosts.

Unit Tests for UpgradeCatalog210 passed.


Alejandro Fernandez

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