hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-6935) RawLocalFileSystem::supportsSymLinks is confusing
Date Sun, 24 Aug 2014 10:46:38 GMT
Gopal V created HDFS-6935:
-----------------------------

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