hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9780) Filesystem and FileContext methods that follow symlinks should return unresolved paths
Date Tue, 08 Oct 2013 18:26:43 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-9780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13789481#comment-13789481
] 

Chris Nauroth commented on HADOOP-9780:
---------------------------------------

bq. There is no client context-sensitivity unless different clients are using inconsistent
DNS servers.

In the current code, there could still be an issue of client context-sensitivity if different
clients map the schemes to entirely different filesystem implementations in their configuration.
 Colin has suggested that we drop support for this kind of remapping, perhaps by freezing
the definitions of the schemes that ship in hadoop-common, like hdfs and viewfs.  (Some amount
of mapping configuration support needs to remain though to support plugging in alternative
filesystem implementations that ship outside the Hadoop code.)

> Filesystem and FileContext methods that follow symlinks should return unresolved paths
> --------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9780
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9780
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Colin Patrick McCabe
>            Priority: Minor
>
> Currently, when you follow a symlink, you get back the resolved path, with all symlinks
removed.  For compatibility reasons, we might want to have the returned path be an unresolved
path.
> Example: if you have:
> {code}
> /a -> b
> /b
> /b/c
> {code}
> {{getFileStatus("/a/c")}} will return a {{FileStatus}} object with a {{Path}} of {{"/b/c"}}.
> If we returned the unresolved path, that would be {{"/a/c"}}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message