Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 032D111D5E for ; Mon, 14 Jul 2014 18:16:07 +0000 (UTC) Received: (qmail 47346 invoked by uid 500); 14 Jul 2014 18:16:06 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 47313 invoked by uid 500); 14 Jul 2014 18:16:06 -0000 Mailing-List: contact dev-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 dev@ambari.apache.org Received: (qmail 47301 invoked by uid 99); 14 Jul 2014 18:16:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2014 18:16:06 +0000 Date: Mon, 14 Jul 2014 18:16:06 +0000 (UTC) From: "Yusaku Sako (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-6479) Add Services can cause service start failure due to not trimming extra spaces in log4j property configs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-6479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yusaku Sako resolved AMBARI-6479. --------------------------------- Resolution: Fixed Committed to branch-1.6.1 and trunk. > Add Services can cause service start failure due to not trimming extra spaces in log4j property configs > ------------------------------------------------------------------------------------------------------- > > Key: AMBARI-6479 > URL: https://issues.apache.org/jira/browse/AMBARI-6479 > Project: Ambari > Issue Type: Bug > Components: client > Affects Versions: 1.6.1 > Reporter: Yusaku Sako > Assignee: Yusaku Sako > Priority: Blocker > Fix For: 1.6.1 > > Attachments: AMBARI-6479_branch-1.6.1.patch, AMBARI-6479_trunk.patch > > > Steps to reproduce: > 1) Deploy a cluster without some service (in this case - without Storm) > 2) Go to Add Service Wizard and choose to add Storm > 3) On'Customize Services page, add a custom property to core-site.xml section (service - HDFS) > 4) Go to Review page and then click Back (returning to Customize Services page). > 5) Click Next again and start Storm installation > 6) On Services page, check log4j.properties field for HDFS, YARN and Hive. > *Expected result:* field 'log4j.properties' is not changed > *Actual result:* for value in field log4j.properties, trailing newline and spaces were added (as specified in the stack definition). This blocks restart operation for the services mentioned above. -- This message was sent by Atlassian JIRA (v6.2#6252)