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

On file deletion remove corresponding blocks pending replication

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 1.2.0, 2.0.3-alpha, 0.23.7
    • namenode
    • None
    • Reviewed

    Description

      Currently when deleting a file, blockManager does not remove records that are corresponding to the file's blocks from pendingRelications. These records can only be removed after timeout (5~10 min).

      Attachments

        1. HDFS-4072.b1.001.patch
          9 kB
          Jing Zhao
        2. HDFS-4072.patch
          11 kB
          Suresh Srinivas
        3. HDFS-4072.trunk.001.patch
          0.8 kB
          Jing Zhao
        4. HDFS-4072.trunk.002.patch
          8 kB
          Jing Zhao
        5. HDFS-4072.trunk.003.patch
          12 kB
          Jing Zhao
        6. HDFS-4072.trunk.004.patch
          12 kB
          Jing Zhao
        7. TestPendingAndDelete.java
          6 kB
          Jing Zhao

        Activity

          People

            jingzhao Jing Zhao
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: