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 Babiichuk (JIRA)" <ji...@apache.org> on 2013/08/23 17:59:52 UTC

[jira] [Updated] (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:all-tabpanel ]

Andrii Babiichuk updated AMBARI-3009:
-------------------------------------

    Attachment: AMBARI-3009.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.0
>
>         Attachments: 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