[
https://issues.apache.org/jira/browse/HDFS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13595623#comment-13595623
]
Alejandro Abdelnur commented on HDFS-4559:
------------------------------------------
I agree with Suresh's comment.
Furthermore, I think having CREATESYMLINK in WebHDFS is a mistake as it is not
supported on the FileSystem API. For example HTTPFS cannot support this for any
FileSystem (including HDFS). WebHDFS rides on the implementation detail that is
running in the NN and can tap directly there.
IMO, we should first add symlinks to the FileSystem API and then do proper
support in WebHDFS REST API.
> 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