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

Use table dir modtime to avoid scanning table dir to check cached table descriptor in 0.94

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.94.11
    • None
    • None
    • Reviewed

    Description

      As described in HBASE-8778, anything that needs to read table descriptors (such as region assignments) currently results in a table directory scan which is slow on tables with many regions. HBASE-8778 moved the table descriptors to a subdir for 0.96+. For 0.94 a smaller change that is safe with rolling restarts is to cache the directory modtime and use the cached table descriptor if the directory modtime has not changed since a table descriptor change always changes the directory.

      Attachments

        1. HBASE-9132-0.94.patch
          7 kB
          Dave Latham

        Issue Links

          Activity

            People

              davelatham Dave Latham
              davelatham Dave Latham
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: