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

FSNamesystem.getBlockLocations sets access time without holding the namespace locks

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Invalid
    • Affects Version/s: 0.19.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      After the access time feature is added to HDFS, FSNamesystem.getBlockLocations(..) is no longer a read only namespace operation. It changes the namespace by updating the access time. However, the thread does not own namespace locks. This may lead to namespace inconsistency.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                szetszwo Tsz Wo Nicholas Sze
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: