hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Íñigo Goiri (JIRA) <j...@apache.org>
Subject [jira] [Updated] (HDFS-13508) RBF: Normalize paths (automatically) when adding, updating, removing or listing mount table entries
Date Fri, 27 Apr 2018 23:32:00 GMT

     [ https://issues.apache.org/jira/browse/HDFS-13508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Íñigo Goiri updated HDFS-13508:
-------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.0.4
                   2.9.2
                   3.1.1
                   3.2.0
                   2.10.0
           Status: Resolved  (was: Patch Available)

Thanks [~ekanth] for the patch and [~gangli2384] for the review.
Committed to trunk, branch-3.1, branch-3.0, branch-2, and branch-2.9.

> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message