ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower" <tbeerbo...@hortonworks.com>
Subject Re: Review Request 34279: ConfigureTask For Upgrades Must Support Type Coercion
Date Fri, 15 May 2015 17:49:53 GMT

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

Ship it!


Ship It!

- Tom Beerbower


On May 15, 2015, 4:51 p.m., Jonathan Hurley wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34279/
> -----------------------------------------------------------
> 
> (Updated May 15, 2015, 4:51 p.m.)
> 
> 
> Review request for Ambari, Nate Cole and Tom Beerbower.
> 
> 
> Bugs: AMBARI-11177
>     https://issues.apache.org/jira/browse/AMBARI-11177
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> The ConfigureTask must be able to support type coercion when copying values between stacks.
This will enable data transformation during an upgrade. In particular, this solves the issue
of a configuration type being changed between stack versions.
> 
> <transfer operation="copy" from-key="nimbus.host" to-key="nimbus.seeds" coerce-to="yaml-array"
/>
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/ConfigureAction.java
645c4bb 
>   ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/ConfigureTask.java
2b68a28 
>   ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/TransferCoercionType.java
PRE-CREATION 
>   ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/TransferOperation.java
1ee2a35 
>   ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.3.xml eb89dbd 
>   ambari-server/src/test/java/org/apache/ambari/server/serveraction/upgrades/ConfigureActionTest.java
99882fd 
> 
> Diff: https://reviews.apache.org/r/34279/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Jonathan Hurley
> 
>


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