Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6581 Write to single replica in memory
  3. HDFS-6991

Notify NN of evicted block before deleting it from RAM disk

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: HDFS-6581
    • Fix Version/s: 2.6.0
    • Component/s: datanode, namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Couple of bug fixes required around eviction:

      1. When evicting a block from RAM disk to persistent storage, the DN should schedule an incremental block report for a 'received' replica on persistent storage.
      2. BlockManager.processReportedBlock needs a fix to correctly update the storage ID to reflect the block moving from RAM_DISK to DISK.

      Found by Xiaoyu Yao via HDFS-6950.

        Attachments

        1. HDFS-6991.03.patch
          33 kB
          Arpit Agarwal
        2. HDFS-6991.02.patch
          32 kB
          Arpit Agarwal
        3. HDFS-6991.01.patch
          9 kB
          Arpit Agarwal

          Issue Links

            Activity

              People

              • Assignee:
                arp Arpit Agarwal
                Reporter:
                arp Arpit Agarwal
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: