You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2016/09/12 19:10:22 UTC
[jira] [Created] (AMBARI-18366) YAML Maps For Storm Are Not Being
Escaped Correctly
Jonathan Hurley created AMBARI-18366:
----------------------------------------
Summary: 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
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)