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

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • HDFS-6581
    • 2.6.0
    • datanode, namenode
    • None
    • 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 xyao via HDFS-6950.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: