Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5957

Provide support for different mmap cache retention policies in ShortCircuitCache.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Done
    • 2.3.0
    • None
    • hdfs-client
    • None

    Description

      Currently, the ShortCircuitCache retains mmap regions for reuse by multiple reads of the same block or by multiple threads. The eventual munmap executes on a background thread after an expiration period. Some client usage patterns would prefer strict bounds on this cache and deterministic cleanup by calling munmap. This issue proposes additional support for different caching policies that better fit these usage patterns.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: