Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6935

RawLocalFileSystem::supportsSymLinks is confusing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.5.0, 2.6.0
    • None
    • symlinks
    • None

    Description

      ...
        @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");
          }
      ...
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            gopalv Gopal Vijayaraghavan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: