You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jaimin D Jetly (JIRA)" <ji...@apache.org> on 2014/07/14 20:10:06 UTC

[jira] [Commented] (AMBARI-6479) Add Services can cause service start failure due to not trimming extra spaces in log4j property configs

    [ https://issues.apache.org/jira/browse/AMBARI-6479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14060958#comment-14060958 ] 

Jaimin D Jetly commented on AMBARI-6479:
----------------------------------------

+1 for the patch.

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