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

RawLocalFileSystem.listStatus() should not throw FileNotFound exception if a file goes missing while the list is being computed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      RawLocalFileSystem.listStatus() first caches the filenames and then gets their statuses. Since there is no directory locking, other processes can delete files in between making the cached filenames invalid. Getting the filestatus of missing file results into FileNotFound exception.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              amar_kamat Amar Kamat
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: