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

DFSPath cache of FileStatus can become stale

    XMLWordPrintableJSON

    Details

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

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

                Dates

                • Created:
                  Updated:
                  Resolved: