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

Andrew Wang commented on HDFS-6199:
-----------------------------------

Hi Gera,

WebHdfsFileSystem doesn't have support for symlinks right now, and symlinks are 
also hard disabled in recent versions of Hadoop. When we do add support, being 
able to throw UnresolvedLinkException will definitely be part of that.

So, if you don't mind, I'll dupe this to the existing webhdfs symlink JIRA at 
HDFS-4934.

> WebHdfsFileSystem does not treat UnresolvedLinkException
> --------------------------------------------------------
>
>                 Key: HDFS-6199
>                 URL: https://issues.apache.org/jira/browse/HDFS-6199
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>    Affects Versions: 2.4.0
>            Reporter: Gera Shegalov
>            Assignee: Gera Shegalov
>            Priority: Critical
>
> {{o.a.h.hdfs.web.resources.ExceptionHandler.toResponse}} does not treat 
> {{UnresolvedLinkException}} . This implies the client-side will generate a 
> generic {{IOException}} or an unchecked exception. 
> The server should return {{GONE}} that can be translated to 
> {{FileNotFoundException}} or the actual {{UnresolvedLinkException}} if the 
> API allows it.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to