[
https://issues.apache.org/jira/browse/HDFS-13508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16457233#comment-16457233
]
Hudson commented on HDFS-13508:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14087 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/14087/])
HDFS-13508. RBF: Normalize paths (automatically) when adding, updating,
(inigoiri: rev 484440602c5b69fbd8106010603c61ae051056dd)
* (edit)
hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterAdminCLI.java
* (edit)
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/tools/federation/RouterAdmin.java
> RBF: Normalize paths (automatically) when adding, updating, removing or
> listing mount table entries
> ---------------------------------------------------------------------------------------------------
>
> Key: HDFS-13508
> URL: https://issues.apache.org/jira/browse/HDFS-13508
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Ekanth S
> Assignee: Ekanth S
> Priority: Minor
> Fix For: 2.10.0, 3.2.0, 3.1.1, 2.9.2, 3.0.4
>
> Attachments: HDFS-13508.001.patch, HDFS-13508.002.patch,
> HDFS-13508.003.patch
>
>
> me@gateway-hawaii-all:/mnt/host/bin$ hdfs dfsrouteradmin -ls /home/move
> Mount Table Entries:
> Source Destinations Owner Group Mode
> /home/move hdfs-oahu->/home/move me hadoop rwxr-xr-x
> me@gateway-hawaii-all:/mnt/host/bin$ hdfs dfsrouteradmin -ls /home/move/
> Mount Table Entries:
> Source Destinations Owner Group Mode
> me@gateway-hawaii-all:/mnt/host/bin$ hdfs dfsrouteradmin -rm /home/move/
> Cannot remove mount point /home/move/
> me@gateway-hawaii-all:/mnt/host/bin$ hdfs dfsrouteradmin -add /home/move/
> hdfs-oahu /home/move/ -readonly
> Cannot add mount point /home/move/
> The slash '/' at the end should be normalized before calling the API from the
> CLI.
> Note: add command fails with a terminating '/' . when it is an existing entry
> (it checks the not-normalized value with the normalized value in the
> mount-table). Adding a new mount point with '/' at the end works because the
> CLI normalizes the mount before calling the API.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]