hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5282) Support built in resolution of /~ to user's home directory: /user/{user.name}
Date Tue, 01 Oct 2013 10:39:25 GMT

    [ https://issues.apache.org/jira/browse/HDFS-5282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13782797#comment-13782797

Steve Loughran commented on HDFS-5282:

# What breaks with this: are people using ~ as a filename/dir name today?
# what would be the policy w.r.t other filesystems?

 /~ isnt normally valid on a unix fs:
$ ls /~
ls: /~: No such file or directory

It'd be needed in hdfs, so that you could have uris like hdfs://~/data, or it is only ever
allowed as a relative path against something else, which isn't so easy to use. But, as that
relative -> absolute resolution is shared across filesystems, it is where we could put
it and have it feed into everything (supporting \~ as an escape?)

> Support built in resolution of /~ to user's home directory: /user/{user.name}
> -----------------------------------------------------------------------------
>                 Key: HDFS-5282
>                 URL: https://issues.apache.org/jira/browse/HDFS-5282
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kevin Minder
> In many cases it would be very convenient for HDFS (and WebHDFS in particular) to support
the Unix notion of /~ representing the user's home directory.  This would allow for some scripts
reusable because they would not contain hard coded home directories.

This message was sent by Atlassian JIRA

View raw message