Hadoop Common
  1. Hadoop Common
  2. HADOOP-4986

FSNamesystem.getBlockLocations sets access time without holding the namespace locks

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker 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.

        Issue Links

          Activity

          Owen O'Malley made changes -
          Component/s dfs [ 12310710 ]
          Nigel Daley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Tsz Wo Nicholas Sze made changes -
          Resolution Invalid [ 6 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Tsz Wo Nicholas Sze made changes -
          Link This issue relates to HADOOP-4972 [ HADOOP-4972 ]
          Tsz Wo Nicholas Sze made changes -
          Field Original Value New Value
          Link This issue relates to HADOOP-1869 [ HADOOP-1869 ]
          Tsz Wo Nicholas Sze created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development