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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • datanode
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment