Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10052

use HDFS advisory caching to avoid caching HFiles that are not going to be read again (because they are being compacted)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • None
    • None
    • None
    • None

    Description

      HBase can benefit from doing dropbehind during compaction since compacted files are not read again. HDFS advisory caching, introduced in HDFS-4817, can help here. The right API here is DataInputStream#setDropBehind.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cmccabe Colin McCabe
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: