[
https://issues.apache.org/jira/browse/AMBARI-8507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14231704#comment-14231704
]
Hudson commented on AMBARI-8507:
--------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit-docker #357 (See
[https://builds.apache.org/job/Ambari-trunk-Commit-docker/357/])
AMBARI-8507 Ambari UI should auto-remove whitespaces from dfs.data.dir
(ababiichuk) (ababiichuk:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5abc3b85e6056b73443cf3d3a23c19c198b48110)
* ambari-web/app/utils/config.js
* ambari-web/test/utils/config_test.js
> 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)