[
https://issues.apache.org/jira/browse/HDFS-2799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250390#comment-13250390
]
amith commented on HDFS-2799:
-----------------------------
Hi Harsh,
I have given a patch as u expected.
I have moved the getCheckPointDirs to DFSUtil so this can be used by others in
case required :)
With this movement it is much easy to write a new test also :)
> Trim fs.checkpoint.dir values
> -----------------------------
>
> Key: HDFS-2799
> URL: https://issues.apache.org/jira/browse/HDFS-2799
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Labels: noob
> Attachments: HDFS-2799.patch
>
>
> fs.checkpoint.dir values need to be trimmed like dfs.name.dir and
> dfs.data.dir values so eg the following works. This currently results in the
> directory "HADOOP_HOME/?/home/eli/hadoop/dirs3/dfs/chkpoint1" being created.
> {noformat}
> <property>
> <name>fs.checkpoint.dir</name>
> <value>
> /home/eli/hadoop/dirs3/dfs/chkpoint1,
> /home/eli/hadoop/dirs3/dfs/chkpoint2
> </value>
> </property>
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira