hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jay vyas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6935) RawLocalFileSystem::supportsSymLinks is confusing
Date Sun, 24 Aug 2014 12:13:38 GMT

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

jay vyas commented on HDFS-6935:
--------------------------------

I beleive this should this be a Hadoop-common bug ? as it's not related to  hdfs specifically...

> RawLocalFileSystem::supportsSymLinks is confusing 
> --------------------------------------------------
>
>                 Key: HDFS-6935
>                 URL: https://issues.apache.org/jira/browse/HDFS-6935
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: symlinks
>    Affects Versions: 2.5.0, 2.6.0
>            Reporter: Gopal V
>
> {code}
> ...
>   @Override
>   public boolean supportsSymlinks() {
>     return true;
>   }
>   @SuppressWarnings("deprecation")
>   @Override
>   public void createSymlink(Path target, Path link, boolean createParent)
>       throws IOException {
>     if (!FileSystem.areSymlinksEnabled()) {
>       throw new UnsupportedOperationException("Symlinks not supported");
>     }
> ...
> {code}



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

Mime
View raw message