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

Avoid extra getFileStatus() calls on Region startup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.96.2, 0.98.1, 1.0.0
    • 0.99.0, 0.98.2, 0.96.3
    • regionserver
    • None

    Description

      On load we already have a StoreFileInfo and we create it from the path,
      this will result in an extra fs.getFileStatus() call.

      In completeCompactionMarker() we do a fs.exists() and later a fs.getFileStatus()
      to create the StoreFileInfo, we can avoid the exists.

      Attachments

        1. HBASE-11011-v0.patch
          7 kB
          Matteo Bertozzi
        2. HBASE-11011-v1.patch
          9 kB
          Matteo Bertozzi
        3. HBASE-11011-v2.patch
          9 kB
          Matteo Bertozzi

        Activity

          People

            mbertozzi Matteo Bertozzi
            mbertozzi Matteo Bertozzi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: