You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Jonathan Hurley <jh...@hortonworks.com> on 2015/03/03 22:26:04 UTC
Review Request 31705: Upgrade Ambari 1.7.0 to 2.0.0 Creates
alert_target_states With Invalid PK
-----------------------------------------------------------
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
Re: Review Request 31705: Upgrade Ambari 1.7.0 to 2.0.0 Creates
alert_target_states With Invalid PK
Posted by Alejandro Fernandez <af...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31705/#review75052
-----------------------------------------------------------
Ship it!
Ship It!
- Alejandro Fernandez
On March 3, 2015, 9:26 p.m., Jonathan Hurley wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31705/
> -----------------------------------------------------------
>
> (Updated March 3, 2015, 9:26 p.m.)
>
>
> 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
>
>