Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10019 make symlinks production-ready
  3. HADOOP-9984

FileSystem#globStatus and FileSystem#listStatus should resolve symlinks by default

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 2.1.0-beta
    • None
    • fs

    Description

      During the process of adding symlink support to FileSystem, we realized that many existing HDFS clients would be broken by listStatus and globStatus returning symlinks. One example is applications that assume that !FileStatus#isFile implies that the inode is a directory. As we discussed in HADOOP-9972 and HADOOP-9912, we should default these APIs to returning resolved paths.

      Attachments

        1. HADOOP-9984.015.patch
          88 kB
          Chris Nauroth
        2. HADOOP-9984.014.patch
          86 kB
          Chris Nauroth
        3. HADOOP-9984.013.patch
          84 kB
          Chris Nauroth
        4. HADOOP-9984.012.patch
          102 kB
          Colin McCabe
        5. HADOOP-9984.011.patch
          97 kB
          Chris Nauroth
        6. HADOOP-9984.010.patch
          97 kB
          Colin McCabe
        7. HADOOP-9984.009.patch
          97 kB
          Colin McCabe
        8. HADOOP-9984.007.patch
          82 kB
          Colin McCabe
        9. HADOOP-9984.005.patch
          76 kB
          Colin McCabe
        10. HADOOP-9984.003.patch
          22 kB
          Colin McCabe
        11. HADOOP-9984.001.patch
          2 kB
          Colin McCabe

        Issue Links

          Activity

            People

              cmccabe Colin McCabe
              cmccabe Colin McCabe
              Votes:
              0 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

                Created:
                Updated: