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

Add unit test for evict/delete RAM_DISK block with open handle

    XMLWordPrintableJSON

    Details

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

      Description

      This is to verify:

      • Evict RAM_DISK block with open handle should fall back to DISK.
      • Delete RAM_DISK block (persisted) with open handle should mark the block to be deleted upon handle close.

      Simply open handle to file in DFS name space won't work as expected. We need a local FS file handle to the block file. The only meaningful case is for Short Circuit Read. This JIRA is to validate/enable the two cases with SCR enabled MiniDFSCluster.

        Attachments

        1. HDFS-6990.3.patch
          13 kB
          Xiaoyu Yao
        2. HDFS-6990.2.patch
          13 kB
          Xiaoyu Yao
        3. HDFS-6990.1.patch
          12 kB
          Xiaoyu Yao
        4. HDFS-6990.0.patch
          15 kB
          Xiaoyu Yao

          Activity

            People

            • Assignee:
              xyao Xiaoyu Yao
              Reporter:
              xyao Xiaoyu Yao
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: