[
https://issues.apache.org/jira/browse/AMBARI-8507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14231472#comment-14231472
]
Aleksandr Kovalenko commented on AMBARI-8507:
---------------------------------------------
+1 for the patch
> Ambari UI should auto-remove whitespaces from dfs.data.dir
> ----------------------------------------------------------
>
> Key: AMBARI-8507
> URL: https://issues.apache.org/jira/browse/AMBARI-8507
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 1.3.0
> Reporter: Andrii Babiichuk
> Assignee: Andrii Babiichuk
> Fix For: 2.0.0
>
> Attachments: AMBARI-8507.patch
>
>
> When modifying dfs.data.dir through the exposed HDFS -> Configs -> Data Node
> -> "DataNode directories" text field and you accidentally have a whitespace
> character '/grid/0, /grid/1' for example, HDFS will not start and puppet will
> show the attached error message. We should strip out whitespaces server side,
> or add JavaScript form validation to catch this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)