hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9417) Support for symlink resolution in LocalFileSystem / RawLocalFileSystem
Date Tue, 09 Jul 2013 19:09:49 GMT

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

Colin Patrick McCabe commented on HADOOP-9417:

bq. 1) Not sure I get your drift here. readLink is only ever called by getFileLinkStatusInternal,
so the check is done there.

I guess my point was that if there was a readlink error, we assume that the file was a regular
file.  Unfortunately, given the way the readlink command works, I can't think of a better
solution (that doesn't use JNI).  So I guess ignore this comment for now.

bq. 2) I switched this out to use primitiveMkdir, which is perhaps the better fix. This method
is deprecated in DistributedFileSystem, but is highly unlikely to be removed.

> Support for symlink resolution in LocalFileSystem / RawLocalFileSystem
> ----------------------------------------------------------------------
>                 Key: HADOOP-9417
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9417
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 3.0.0
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>         Attachments: hadoop-9417-1.patch, hadoop-9417-2.patch, hadoop-9417-3.patch, hadoop-9417-4.patch,
hadoop-9417-5.patch, hadoop-9417-6.patch
> Add symlink resolution support to LocalFileSystem/RawLocalFileSystem as well as tests.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message