Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2802 Support for RW/RO snapshots in HDFS
  3. HDFS-4150

Update inode in blocksMap when deleting original/snapshot file

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Snapshot (HDFS-2802)
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When deleting a file/directory, instead of directly removing all the corresponding blocks, we should update inodes in blocksMap if there are snapshots for them.

        Attachments

        1. HDFS-4150.004.patch
          22 kB
          Jing Zhao
        2. HDFS-4150.003.patch
          22 kB
          Jing Zhao
        3. HDFS-4150.002.patch
          23 kB
          Jing Zhao
        4. HDFS-4150.001.patch
          23 kB
          Jing Zhao
        5. HDFS-4150.000.patch
          16 kB
          Jing Zhao

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: