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

Konstantin Shvachko commented on HDFS-4559:
-------------------------------------------

Suresh, it was true that symLinks were exposed only through FileContext, but 
not any more. Once creating a symLink is exposed through WebHdfs it should also 
support resolving symLinks and reading data through them.
This could be either done solely for WebHdfs or universally exposed through 
FileSystem. So we can close one of the two jiras, but need to fix the other 
one. I would rather add support for symLinks through FileSystem, otherwise the 
feature is rotting and not widely used.

Plamen, "Fix Version/s:" field should be only filled when the jira is resolved. 
Use "Target Version/s:" to indicate versions you want it to be fixed in.
                
> WebHDFS does not allow resolution of Symlinks
> ---------------------------------------------
>
>                 Key: HDFS-4559
>                 URL: https://issues.apache.org/jira/browse/HDFS-4559
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.3-alpha
>            Reporter: Plamen Jeliazkov
>            Assignee: Plamen Jeliazkov
>             Fix For: 3.0.0, 2.0.4-beta
>
>
> WebHDFS allows you to create symlinks via the CREATESYMLINK operation, but 
> the GETFILEINFO operation specifically calls the getFileInfo() method of the 
> NameNodeRpcServer which does not resolve symlinks.
> I propose adding a parameter to GETFILEINFO such that if true will call 
> getFileLinkInfo() rather than getFileInfo() which will resolve any symlinks.

--
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

Reply via email to