ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez" <afernan...@hortonworks.com>
Subject Re: Review Request 31705: Upgrade Ambari 1.7.0 to 2.0.0 Creates alert_target_states With Invalid PK
Date Tue, 03 Mar 2015 21:47:24 GMT

-----------------------------------------------------------
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
> 
>


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