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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Snapshot (HDFS-2802)
    • namenode
    • None
    • 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.000.patch
          16 kB
          Jing Zhao
        2. HDFS-4150.001.patch
          23 kB
          Jing Zhao
        3. HDFS-4150.002.patch
          23 kB
          Jing Zhao
        4. HDFS-4150.003.patch
          22 kB
          Jing Zhao
        5. HDFS-4150.004.patch
          22 kB
          Jing Zhao

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: