hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13885) Implement getLinkTarget for ViewFileSystem
Date Tue, 10 Jan 2017 02:33:58 GMT

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

Hudson commented on HADOOP-13885:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11094 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11094/])
HADOOP-13885. Implement getLinkTarget for ViewFileSystem. Contributed by (wang: rev 511d39e0740f36bf937e7bcf974e1050f0e7c1e0)
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ChRootedFileSystem.java
* (edit) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/viewfs/ViewFileSystemBaseTest.java


> 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
>             Fix For: 3.0.0-alpha2
>
>         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
(v6.3.4#6332)

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


Mime
View raw message