Andrii Babiichuk created AMBARI-3009:
----------------------------------------
Summary: 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