ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-11177) ConfigureTask For Upgrades Must Support Type Coercion
Date Fri, 15 May 2015 21:28:59 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-11177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14546200#comment-14546200
] 

Hudson commented on AMBARI-11177:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #2612 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2612/])
AMBARI-11177 - ConfigureTask For Upgrades Must Support Type Coercion (jonathanhurley) (jhurley:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=59f15b2ac55d6e92212a8c9a7afae7565633df46)
* ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/ConfigureTask.java
* ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/ConfigureAction.java
* ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.3.xml
* ambari-server/src/test/java/org/apache/ambari/server/serveraction/upgrades/ConfigureActionTest.java
* ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/TransferOperation.java
* ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/TransferCoercionType.java


> ConfigureTask For Upgrades Must Support Type Coercion
> -----------------------------------------------------
>
>                 Key: AMBARI-11177
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11177
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.1.0
>
>
> 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"
/>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message