[
https://issues.apache.org/jira/browse/AMBARI-18366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15487663#comment-15487663
]
Hudson commented on AMBARI-18366:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #24 (See
[https://builds.apache.org/job/Ambari-branch-2.5/24/])
AMBARI-18366 - YAML Maps For Storm Are Not Being Escaped Correctly (jhurley:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6e547aee6b1adc871eff512c1653d5a883a69090])
* (edit) ambari-server/src/test/python/TestYAMLUtils.py
* (edit) ambari-common/src/main/python/ambari_commons/yaml_utils.py
> YAML Maps For Storm Are Not Being Escaped Correctly
> ---------------------------------------------------
>
> Key: AMBARI-18366
> URL: https://issues.apache.org/jira/browse/AMBARI-18366
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent
> Affects Versions: 2.0.0
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Priority: Critical
> Fix For: 2.5.0
>
> Attachments: AMBARI-18366.patch
>
>
> When attempting to add a custom {{storm-site}} property which is a YAML map
> of maps, the {{storm.yaml}} file being generated is incorrectly escaping the
> map.
> {code:title="Expected YAML"}
> nimbus.impersonation.acl:
> storm:
> hosts:
> [c6401.ambari.apache.org, c6402.ambari.apache.org]
> groups:
> [hadoop, foo]
> {code}
> {code:title="Actual YAML"}
> nimbus.impersonation.acl: 'storm:
> hosts:
> [c6401.ambari.apache.org, c6402.ambari.apache.org]
> groups:
> [hadoop, foo]'
> {code}
> - We should not be escaping YAML maps
> - YAML maps must being on a newline with no leading whitespace
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)