You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2014/08/24 12:46:37 UTC

[jira] [Created] (HDFS-6935) RawLocalFileSystem::supportsSymLinks is confusing

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)