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)

Reply via email to