Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-4072

On file deletion remove corresponding blocks pending replication

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 1.2.0, 2.0.3-alpha, 0.23.7
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      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).

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

        Activity

        Jing Zhao created issue -
        Jing Zhao made changes -
        Field Original Value New Value
        Attachment TestPendingAndDelete.java [ 12549571 ]
        Jing Zhao made changes -
        Attachment HDFS-4072.trunk.001.patch [ 12549572 ]
        Jing Zhao made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Jing Zhao made changes -
        Attachment HDFS-4072.trunk.002.patch [ 12549615 ]
        Jing Zhao made changes -
        Attachment HDFS-4072.trunk.003.patch [ 12549639 ]
        Jing Zhao made changes -
        Attachment HDFS-4072.trunk.004.patch [ 12549721 ]
        Suresh Srinivas made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Suresh Srinivas made changes -
        Attachment HDFS-4072.patch [ 12549804 ]
        Suresh Srinivas made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 3.0.0 [ 12320356 ]
        Fix Version/s 2.0.3-alpha [ 12323274 ]
        Resolution Fixed [ 1 ]
        Suresh Srinivas made changes -
        Summary When deleting a file, it would be better to also remove corresponding block records from BlockManager#pendingReplications On file deletion remove corresponding blocks pending replications.
        Component/s name-node [ 12312926 ]
        Suresh Srinivas made changes -
        Summary On file deletion remove corresponding blocks pending replications. On file deletion remove corresponding blocks pending replication
        Jing Zhao made changes -
        Attachment HDFS-4072.b1.001.patch [ 12550011 ]
        Suresh Srinivas made changes -
        Fix Version/s 1.2.0 [ 12321657 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Kihwal Lee made changes -
        Fix Version/s 0.23.7 [ 12323955 ]
        Allen Wittenauer made changes -
        Fix Version/s 3.0.0 [ 12320356 ]

          People

          • Assignee:
            Jing Zhao
            Reporter:
            Jing Zhao
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development