ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-18366) YAML Maps For Storm Are Not Being Escaped Correctly
Date Tue, 13 Sep 2016 13:59:20 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-18366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Hurley updated AMBARI-18366:
-------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

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

Mime
View raw message