-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31705/
-----------------------------------------------------------
Review request for Ambari, Alejandro Fernandez and Sid Wagle.
Bugs: AMBARI-9911
https://issues.apache.org/jira/browse/AMBARI-9911
Repository: ambari
Description
-------
alert_target_states is a @CollectionTable and does not contain PKs. The upgrade
catalog must not create a PK for this table.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java
95d8300
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java
61fa5a8
Diff: https://reviews.apache.org/r/31705/diff/
Testing
-------
Upgraded from 1.7.0 to 2.0.0 to verify that the table is created correctly and
alert targets can be created post-upgrade.
$ mvn clean test
Thanks,
Jonathan Hurley