Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DB3F8200B81 for ; Tue, 13 Sep 2016 15:59:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D9C08160AD2; Tue, 13 Sep 2016 13:59:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 527C5160AC6 for ; Tue, 13 Sep 2016 15:59:21 +0200 (CEST) Received: (qmail 26829 invoked by uid 500); 13 Sep 2016 13:59:20 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 26820 invoked by uid 99); 13 Sep 2016 13:59:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2016 13:59:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 699612C014C for ; Tue, 13 Sep 2016 13:59:20 +0000 (UTC) Date: Tue, 13 Sep 2016 13:59:20 +0000 (UTC) From: "Jonathan Hurley (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-18366) YAML Maps For Storm Are Not Being Escaped Correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 13 Sep 2016 13:59:22 -0000 [ 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)