Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3981

access time is set without holding FSNamesystem write lock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.3, 2.0.3-alpha, 0.23.5
    • 2.3.0
    • namenode
    • None
    • Reviewed

    Description

      Incorrect condition in FSNamesystem.getBlockLocatoins() can lead to updating times without write lock. In most cases this condition will force FSNamesystem.getBlockLocatoins() to hold write lock, even if times do not need to be updated.

      Attachments

        1. HDFS-3981-branch-0.23.4.patch
          1 kB
          Xiaobo Peng
        2. HDFS-3981-branch-0.23.patch
          1 kB
          Xiaobo Peng
        3. HDFS-3981-branch-2.patch
          1 kB
          Xiaobo Peng
        4. HDFS-3981-trunk.patch
          1 kB
          Xiaobo Peng
        5. hdfs-3981.txt
          6 kB
          Todd Lipcon

        Activity

          People

            teledriver Xiaobo Peng
            teledriver Xiaobo Peng
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: