Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2565

DFSPath cache of FileStatus can become stale

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.16.0
    • 0.18.0
    • None
    • None
    • Reviewed

    Description

      Paths returned from DFS internally cache their FileStatus, so that getStatus(Path) does not require another RPC. This cache is never refreshed and become stale, resulting in program error.

      This should not be fixed until FileSystem#listStatus() is removed by HADOOP-2563, and user code is thus no longer dependent on this cache for good performance.

      Attachments

        1. 2565_20080605.patch
          4 kB
          Tsz-wo Sze
        2. 2565_20080604b.patch
          4 kB
          Tsz-wo Sze
        3. 2565_20080604.patch
          4 kB
          Tsz-wo Sze
        4. 2565_20080424.patch
          5 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              cutting Doug Cutting
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: