hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manoj Govindassamy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-13885) Implement getLinkTarget for ViewFileSystem
Date Fri, 06 Jan 2017 22:31:58 GMT

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

Manoj Govindassamy updated HADOOP-13885:
    Attachment: HADOOP-13885.02.patch

Thanks for the review [~andrew.wang]. Can you please take a look at the updated patch ?
Attached v02 patch to address the following
* Made {{ViewFileSystem#getLinkTarget}} throw NotInMountPointException when internal mount
point resolve fails and throw other exceptions including FNFE from target filesystem as is.
* Updated ViewFileSystemBaseTest to verify both normal and relative symbolic links, and added
assume to skip irrelevant tests.

> Implement getLinkTarget for ViewFileSystem
> ------------------------------------------
>                 Key: HADOOP-13885
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13885
>             Project: Hadoop Common
>          Issue Type: Task
>          Components: viewfs
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Manoj Govindassamy
>            Assignee: Manoj Govindassamy
>         Attachments: HADOOP-13885.01.patch, HADOOP-13885.02.patch
> ViewFileSystem doesn't override FileSystem#getLinkTarget(). So, when view filesystem
is used to resolve the symbolic links, the default FileSystem implementation throws UnsupportedOperationException.
> The proposal is to define getLinkTarget() for ViewFileSystem and invoke the target FileSystem
for resolving the symbolic links. Path thus returned is preferred to be a viewfs qualified
path, so that it can be used again on the ViewFileSystem handle. 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message