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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: