You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrii Tkach (JIRA)" <ji...@apache.org> on 2013/09/17 15:05:51 UTC

[jira] [Commented] (AMBARI-3009) Trim and/or validate config parameter values to prevent failures due to extra spaces

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

Andrii Tkach commented on AMBARI-3009:
--------------------------------------

+1 for the patch.
                
> Trim and/or validate config parameter values to prevent failures due to extra spaces
> ------------------------------------------------------------------------------------
>
>                 Key: AMBARI-3009
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3009
>             Project: Ambari
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 1.4.0
>            Reporter: Andrii Babiichuk
>            Assignee: Andrii Babiichuk
>             Fix For: 1.4.1
>
>         Attachments: AMBARI-3009_1.patch, AMBARI-3009_2.patch, AMBARI-3009.patch
>
>
> Automatically trim whitespaces (both leading and trailing) for:
> * Database Host in Oozie and Hive
> * Database Name in Oozie and Hive
> * Database URL in Oozie and Hive
> * All directories, including log dir, pid dir,data dir, etc (I believe we already trim, split, and join for the UI config type "directories".  We should trim on the single-line directory values, if we are not doing so already). 
> Automatically trim all trailing spaces (but not leading spaces) for all config values with the following exceptions:
> * Password fields
> * Values that consist of spaces only (such as " ")

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira